Laravel Community Tools by Tighten

Popular tricks

458 tricks
with this code you can test all get page without params (index,create,etc...)
d3v2a 10 years ago 14682
Package that provides easily communicate between bigbluebutton server and laravel framework
joisarjign... 5 years ago 14683
How to add Multiple pagination in one page
Mahmoudz 10 years ago 14664
5.0
The Authorization feature that was introduced in 5.1.11 is designed around the idea of associating models with policies, but sometimes you want to be able to define an encompassing policy to check for capabilities at a higher level, in which case checking against models might not make sense. This trick allows defining abilities in the gate based on the methods defined in a policy class.
Riari 10 years ago 14601
5.0
Hi guys, well let me share with you this trick that you may not know: isn't going to be great to use collection methods with your own array . well laravel make this simple , we can know turn our arrays to collections and interact with its just as we do with eloquent collection .
anouarabds... 11 years ago 14447
This function will allow you to forget about cache busting mechanisms. It will use your desired method of cache busting, either <filename>.<buster>.<extension> (default) or <filename>.<extension>?<buster>. You can use this to replace asset() entirely and never worry about updating those pesky cache busters whenever you update a file!
stidges 11 years ago 14373
This is usefull for migrations when you can't rollback. Can easily be run in artisan mode or you can create a console command.
naneri 9 years ago 14418
Nginx server configuration files
yuchao 11 years ago 14344
This is specific to using Redis for caching. You can group your keys in sections to allow for easily clearing the cache on just a section of data. Couple notes: 1. You have to have 'cluster' set to false in app/config/database.php under the 'redis' key. 2. Remember to pass through variables into the closure with 'use'. 3. Have fun!
gerob 12 years ago 14237