Laravel Community Tools by Tighten

Recent tricks

459 tricks
By this line adding to the app/routes.php file, you can apply 'csrf' filter to all routes
milon 12 years ago 8799
Gives you the ability to log all events (your own and Laravels built in events)
clarkeash 12 years ago 15067
Whoops, looks like something went wrong.
yuran 12 years ago 21394
If you receive any error message like below after upgrading to Laravel 4.2, you should modify your queue config: production.ERROR: Undefined index: encrypt Add 'encrypt' => true, to config of Iron
kemalyen 12 years ago 9779
Hi All, I am trying to run laraverl-tricks open source application locally, but for some reason it is not running locally If anybody successfully run this app, please let me know, Thanks all
l4friend 12 years ago 8144
4.0
You can find it here as well: https://github.com/mousavian/laravel-4-custom-db-log or you can just simply do: 1. create logger.php in your "app" folder 2. edit "app\start\global.php" file (or local.php), and add this: 3. all logs will be at "app\storage\logs\query.log"
mousavian 12 years ago 23419
Hi guys , I wanna share with you this trick that you may don't know or did not used it before . what if you want to do something like this . Animals::dogs(); or Animals::cats(); how you can achieve this ... well it's simple with eloquent
anouarabds... 12 years ago 9820
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... 12 years ago 14682
I think this is very nice and simple :D You can modify at will you. I think this will save the use of `use` when you make a controller that has a namespace
gravitano 12 years ago 14962