Laravel Community Tools by Tighten

Popular tricks

459 tricks
This is how you delete/drop a database using Laravel. If you are not using MySQL you may replace or remove the backtick (`) sign.
harlekoy 9 years ago 10366
Sometimes you want to paginate a table in an order, but when showing the items you need to reverse the order. Using the array_reverse on Paginator wont work, but if you use the getItems() its possible.
diegofelix 12 years ago 10285
Laravel 4 CSRF on all POST requests
localdisk 12 years ago 10278
Append array in $request::all() while saving data in laravel 5.2
mlselegant 10 years ago 10263
# Report(): The report() method allows us to log the raised exceptions or parse them to various error logging engines like the sentry. All this method does by default is passing the thrown exception to the base class where it is logged, but we are free to customize.
harshaldos... 5 years ago 10250
Hi, I got the example by Dastan Turysbekov (http://laravelsnippets.com/snippets/menu-activated) and changed a little bit. It's a simple Macro to use with Active Menu. You can use parameters and attributes as well.
marcelofer... 11 years ago 10192
lighttpd server configuration files
yuchao 11 years ago 10211
These are helper functions which allow you to write more concise router code:
imanghafoo... 11 years ago 10180
5.0
search query from scope in laravel model
sanjok1988 6 years ago 10142