Laravel General Laravel Stuff Tricks and Tips
Here is my list of tips, tricks and short articles for doing related tasks in Laravel.
- How to add the CSRF (Cross-site request forgery) token in Laravel?
- How to exclude URLs from the Laravel CSRF protection?
- How to find out what version of Laravel you are using?
- How to return JSON data to the user in Laravel?
- How to run an artisan command from a controller
- How to see all of the options for an artisan command?
- How to show a specific view file for certain error codes?
- What are macros in Laravel?
- Why should you update APP_URL from from http://localhost?
Laravel General Laravel Stuff Cheatsheet (all on one page)