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 12 years ago 15014
Whoops, looks like something went wrong.
yuran 12 years ago 21300
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 9711
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 8099
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 23359
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 9777
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 14605
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 14857
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 12 years ago 14130