Laravel Community Tools by Tighten

Recent tricks

458 tricks
If you need to sprinkle in some caching without building a bunch of Repositories. I've found this base Model and Service Provider very helpful. For updates: https://gist.github.com/danrichards/de22efa41b533d81fa1ec15f42cf64f5
danrichard... 9 years ago 9587
Support multi languages JSON response
Mahmoudz 9 years ago 22995
5.0
This script is for generating copies of uploaded images in different sizes. In my case I created a custom Library folder and then created a class FileUploader and add all functions that deals with any image uploads.
yandine 9 years ago 8278
5.0
This code allows you to register additional package providers and aliases for different environments, similar to how it used to work in L4. While the most of local configuration in L5 can be done by .env files, you can't really separate dev packages that way. If you install a package with `composer require --dev` it will not be available in the production and if you forget to remove the providers from the app.php it will break everything. With this code you can have local/app.php config with package providers and aliases that will be merged with the main config, but only if you are in local env. It will also support using separate config for production/app.php or test/app.php (or any other environment name you use).
ivanhoe011 9 years ago 7969
5.0
Listen to the `Illuminate\Mail\Events\MessageSending` event, and perform logic when needed.
stevebauma... 9 years ago 8827
Laravel in create common function
Darshan Ma... 9 years ago 7066
Relationship in laravel
Darshan Ma... 9 years ago 8482
Angular js With laravel blade file
Darshan Ma... 9 years ago 7330