Laravel Community Tools by Tighten

Popular tricks

458 tricks
This piece of middleware can be applied at a global level, or on a per-route basis. The idea is that instead of polluting your databases with HTML and other potentially damaging data as a result of user input, this middleware will immediately strip all tags from any input, before it gets to validation or saved to a database. The result? A more dependable solution that doesn't require developer memory to implement safe output rules + cleaner data in your database.
kirkbushel... 10 years ago 16376
5.0
Laravel H is a helper package for Laravel Framework. GitHub: https://github.com/haruncpi/laravel-h
haruncpi 5 years ago 16319
The example doesn't cover every single aspect, but the very major things.
Mahmoudz 10 years ago 16069
5.0
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 16066
Change email configuration on the fly.
aglipanci 11 years ago 16046
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 15955
Change the created_at, updated_at and deleted_at column names (deleted_at not working @ Laravel 4.2)
seriousfre... 11 years ago 15898
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 15809
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 15804