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 9350
This code shows how to trigger a Modal onScroll event to perform and assert against an ajax request
nezarfadle 9 years ago 9327
Listen to the `Illuminate\Mail\Events\MessageSending` event, and perform logic when needed.
stevebauma... 10 years ago 9295
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 9288
A Controller-based solution to add the CSRF filter to all POST requests.
danalloway 12 years ago 9258
As I will cover this Post with live Working example to develop how to save ckeditor content in mysql database, so the Laravel ckeditor display raw data in the database and post form is used for this example is following below.
pakainfo-c... 6 years ago 9271
Add New Colum To Exist Table With Seeder
faizalprib... 11 years ago 9258
4.0
Using Sentry With Eloquent
Mahmoudz 11 years ago 9247