Laravel Community Tools by Tighten

Popular tricks

459 tricks
wrong and right way to write eloquent
sanjok1988 6 years ago 8866
In this article I'm gonna show you how to setup Laravel with Redis cache. Cloudways offers Laravel Development Framework on its Managed Cloud Web Hosting Platform. You also have the option to use Redis Cache, which is different from Memcached in the sense that it has persistence. Further advantages of Redis over Memcached are that it works with more data types, and it uses less memory. Here are the article link: http://www.cloudways.com/blog/setup-laravel-redis-cache/
wajidstack 10 years ago 8835
4.1
By this line adding to the app/routes.php file, you can apply 'csrf' filter to all routes
milon 12 years ago 8810
If you are using the same template in a lot of places and might later need an easy way to switch out the template for a different one without having to go through all views that implement it or replacing the current template, then consider using a constant to pass this parameter. Doing this will allow you to switch out your template for any other template at any time in nearly no time at all.
The Saint... 11 years ago 8737
This snippet will allow you to add to the request. Tested in Laravel 5.2
wolf 10 years ago 8761
5.0
Relationship in laravel
Darshan Ma... 10 years ago 8737
Laravel Invisible reCAPTCHA Example – Laravel Validate Form on Submit using Google reCaptcha
dave 9 years ago 8744
Make your dynamic post caching for load your website post fast.
haruncpi 6 years ago 8748