Laravel Community Tools by Tighten

Popular tricks

458 tricks
Further explanation: http://www.codinghobo.com/re-organising-laravel-applications-with-psr-4/
rmasters 12 years ago 19200
If you have an API, which you also use on your site..then you might want to get the data from the API by making an internal request.
xtrasmal 12 years ago 19053
A variation of http://www.laravel-tricks.com/tricks/column-selection-in-eager-loading Credits: http://stackoverflow.com/questions/16994253/laravel-eager-loading-load-only-specific-columns Warning: this trick does not work on many-to-many relations, see: https://github.com/laravel/framework/issues/2966
orlissenbe... 11 years ago 18860
Extends the native Laravel Http Client, so that you can define global options https://github.com/smokills/laravel-http-client-default-options
smokills 5 years ago 18786
Monitor user activity on laravel application with Laravel user activity package. It has build-in beautiful responsive & user-friendly UI with various useful features.
haruncpi 5 years ago 18764
Temporarily log in as another user, but switch back to the original user at any time. Inspired by the User Switching plugin for WordPress. I use this for testing data being shown based on user role.
dawiyo 11 years ago 18490
Forget cache upon model events or custom events
bwsewell 12 years ago 18386
if you want to use ORM eloquent to get a query with the third table and select only particular attributes then here is the trick. Here users can have multiple positions in a company and each user has their own user profile. *note that user_id must be here to fetch data with a specific column. without foreign key eloquent cannot map relational table
sanjok1988 5 years ago 18404
Perform CSRF filter on all post, put, patch, and delete requests through constructor of the BaseController.
mhanson01 12 years ago 18298