Laravel Community Tools by Tighten

Recent tricks

458 tricks
Gives you the ability to log all events (your own and Laravels built in events)
clarkeash 11 years ago 14911
Whoops, looks like something went wrong.
yuran 11 years ago 21178
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 11 years ago 9609
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 11 years ago 8026
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 11 years ago 23202
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... 11 years ago 9719
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 14487
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 11 years ago 14766
Laravel has many choices for performing a query, sometimes it could be confusing, I hope this list help you to clear any doubts. If you know other way please show it in comments for add it.
luismec90 11 years ago 14003