Laravel Community Tools by Tighten

Popular tricks

458 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 8 years ago 10208
Laravel 4 CSRF on all POST requests
localdisk 12 years ago 10168
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 10149
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 10059
lighttpd server configuration files
yuchao 11 years ago 10083
Append array in $request::all() while saving data in laravel 5.2
mlselegant 10 years ago 10069
Catch all routes and paths using the auth filter. A route validation method is added to the Users model called hasAccess($route) and returns true if the user has that route. If the user doesn't have the route the error message will inform of what access they are missing.
somadden 12 years ago 9965
These are helper functions which allow you to write more concise router code:
imanghafoo... 11 years ago 10028
5.0
# 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 10020