Laravel Community Tools by Tighten

Popular tricks

458 tricks
Sometimes you need to use some packages only in your local environment, like for debug purposes. You can include service providers in your local configuration file app/config/local/app.php. You have to worry about indexes since if you just paste service provider, it will overwrite one with same index in original configuration.
lazychaser 12 years ago 9003
A Controller-based solution to add the CSRF filter to all POST requests.
danalloway 12 years ago 8953
This code shows how to trigger a Modal onScroll event to perform and assert against an ajax request
nezarfadle 9 years ago 8983
symply dont register unessecary route you dont have to use facade, $router instance is set by the function in route provider with config cached and files compiled i get app booted in ~30ms vs ~50 on my dev server
d3v2a 10 years ago 8890
5.0
Using Sentry With Eloquent
Mahmoudz 10 years ago 8886
Displaying different module/package dashboard widgets using view composers.
beanmoss 10 years ago 8868
Learn how to make a function to easily test which menu items should be marked as active depending on which page you are currently viewing in your browser. Add class of active to bootstrap menu items on different pages. Wherever you need to apply an active class ( or any other class ) in order to make a menu item active depending on which page you are currently viewing, or for any other sort of functionality you might need, this is the way you can do it with Laravel ( or plain PHP just a bit differently ) Watch the video on how to do it https://www.youtube.com/watch?v=E1oit3sd-7k
Novica89 10 years ago 8862
Add New Colum To Exist Table With Seeder
faizalprib... 11 years ago 8863
4.0