Laravel Community Tools by Tighten

Recent tricks

458 tricks
When you have a model with unique value column and tries seeder your table using a big amout, sometimes the QueryException is thrown, because Faker doesn't know what values was previously generated and the number of combinations is limited.
lcdss 10 years ago 16093
simple paginate using table from database and displaying in blade
PunnaRao 10 years ago 7808
5.0
storing cache date using file driver in 5.1
PunnaRao 10 years ago 6646
5.0
gmail sending using smtp in laravel
PunnaRao 10 years ago 6837
I made a filter for Laravel 5.0 , you can redirect non-www URLs to www URL and you don't need to write any difficult htaccess codes . Just put the filter in routes.php and use it for any Routes you want them to be with WWW . This snipped code is made by www.larabook.ir
hpakdaman 10 years ago 16654
Encryption
test1 10 years ago 7289
1. create two route files routes.web.php and routes.api.php. 2. edit the RouteServiceProvider.php file to look like the code below: (Note: you can add as many routes as you want, just follow the same logic.)
Mahmoudz 10 years ago 42749
5.0
Get a List of Recent queries that have been run on your app
unicodevel... 10 years ago 7155
Hi, I have 3 tables USER, ALBUMS, PHOTOS USER has one to many relation with ALBUMS, ALBUMS has one to many relation with photos. My relation mapping as follows
ajeeeunni 10 years ago 13472