Skip to content

Instantly share code, notes, and snippets.

Install mongodb extention - Windows
---
1. Download php_mongodb.dll from pecl mongodb php - latest stable dll
2. Put that DLL to localhost Xampp/php/ext
3. add line to php.ini - extension=php_mongodb.dll
4. restart Xampp server.
Download Mongodb Compass for local software to check Data
-------
@jatinkshatra
jatinkshatra / Laravel Security Practices & Concerns
Last active June 21, 2023 04:03
Laravel Security Practices & Concerns - By implementing these measures, you can significantly enhance the security of your Laravel project and minimize the risk of exposing sensitive information. Remember that security is an ongoing process, so it's important to regularly review and update your security measures as new threats emerge.
Detailed info - https://chat.openai.com/share/62242b26-4de9-4868-9957-53b071624f41
Security Cheetsheet with example - https://cheatsheetseries.owasp.org/cheatsheets/Laravel_Cheat_Sheet.html
Laravel Security: Top 7 Mistakes Developers Make - https://www.youtube.com/watch?v=dWVTfY6cMBs
-------------------------------------------------
1. Configure Web Server:
*If you are using Apache, create or modify the .htaccess file in your project's root directory and add the following lines: