Laravel Community Tools by Tighten

Popular tricks

458 tricks
We have released the source code of this website! You can check out the repository containing a mirror copy of this website: https://github.com/CodepadME/laravel-tricks to create your own websites like Laravel-tricks. It uses PSR-2 coding standards, a ton of libraries and packages and is a good resource to take a look into.
msurguy 12 years ago 9785
When you save the password fields, it's been hashed every time. You have to put it in your User model. Thanks to Karl Merkli to add needsRehash
HakShinKen 12 years ago 9798
4.1
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 9782
sending variable values to your multiple controller and accessing them in your blade template
wasiqaftab 10 years ago 9793
If you need to sprinkle in some caching without building a bunch of Repositories. I've found this base Model and Service Provider very helpful. For updates: https://gist.github.com/danrichards/de22efa41b533d81fa1ec15f42cf64f5
danrichard... 9 years ago 9780
Loading views from a different location, other than 'app/views'
Whyounes 12 years ago 9754
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 9719
Creates a link for a US telephone number.
leek 12 years ago 9716
I'm using a pivot table on the project I'm working with to filter category
dickyeka 9 years ago 9544