Laravel Community Tools by Tighten

Popular tricks

458 tricks
It can sometimes be convenient to automatically validate your model when it gets created or updated. This is very easily achieved with Laravel through the use of Model events.
stidges 12 years ago 16420
Laravel H is a helper package for Laravel Framework. GitHub: https://github.com/haruncpi/laravel-h
haruncpi 5 years ago 16357
When you have a model with unique value column and tries seeder your table using a big amout, sometimes the QueryException is thrown, because Faker doesn't know what values was previously generated and the number of combinations is limited.
lcdss 10 years ago 16127
The example doesn't cover every single aspect, but the very major things.
Mahmoudz 10 years ago 16115
5.0
Change email configuration on the fly.
aglipanci 11 years ago 16093
4.2
Bumped into a problem while trying to authorize user against laravel basic auth middleware when testing a REST API through phpunit. I used phpunit call method to send a POST request to API's endpoint which needed users basic HTTP authentication. Every time, laravels basic auth middleware rejected it and I had no idea why, since I've sent proper HTTP Authorization header with phpunit call. Here is the solution ! Or watch it in a video https://www.youtube.com/watch?v=LCrt7jqDsgU Read more on http://laravel.io/forum/03-20-2014-authbasic-fails
Novica89 10 years ago 16028
Change the created_at, updated_at and deleted_at column names (deleted_at not working @ Laravel 4.2)
seriousfre... 11 years ago 15965
4.1
Generate navigation menu's that look clean using a custom class HTML::nav(); Automatically set active state, use conditions to display links, and optionally pass only one value for both url and link name if you want to type a little less
residualfl... 12 years ago 15852
Laravel scheduler is a nice feature of the Laravel framework but most of the developer can't setup cronjob for running the laravel schedule on shared hosting. Here I am giving a snippet for running laravel cronjob on shared hosting. For more detail: http://bit.ly/laravel-scheduler
haruncpi 6 years ago 15868