Laravel Community Tools by Tighten

Popular tricks

458 tricks
wrong and right way to write eloquent
sanjok1988 5 years ago 8675
By this line adding to the app/routes.php file, you can apply 'csrf' filter to all routes
milon 11 years ago 8629
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 8647
4.1
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 8594
This snippet will allow you to add to the request. Tested in Laravel 5.2
wolf 10 years ago 8603
5.0
Relationship in laravel
Darshan Ma... 9 years ago 8587
Laravel de URL desenlerini yazılımcının sabit bir yaklaşımından uzaklaştırarak SEO için renklendirmeye yarayan bazı kullanımları.. http://elmacademy.net/
doguhan 11 years ago 8577
I've put the full namespaces in for science.
orlissenbe... 11 years ago 8592