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
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
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"
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
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 .
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
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.