Laravel Community Tools by Tighten

Popular tricks

458 tricks
With this trick we add custom queries in the laravel paginator.
Hoosk 10 years ago 6985
I've written a package that allows you to connect with the last.fm API. With last.fm you can track which music you listen to. Through the API you can retrieve some cool statistics. Checkout https://github.com/barryvanveen/lastfm for the full readme and more examples.
barryvanve... 9 years ago 6988
5.0
I don't personally use it, but some might find it useful. Laravel 5 paginator accepts a custom presenter for the paginator. In case you don't want to create a class or want to edit HTML directly, try the following trick.
moon0326 10 years ago 6938
5.0
Chunk collections by percentages
jamosaur 10 years ago 6912
Laravel macro is a cool feature for extending the laravel core classes. http://bit.ly/laravel-macro
haruncpi 6 years ago 6920
Migrate Laravel database in Codeception
Mahmoudz 10 years ago 6888
Laravel MySQL in default returns "SQLSTATE[HY000]: General error: 1366 Incorrect string value" error in emoji save... this error is because Laravel in default uses utf8 charset in MySQL, change your `config/database.php` like below and reset your migration instead putting out that error...
tuytoosh 9 years ago 6876
This trait allows you to save any column from any model into a location within the storage directory to allow the column to be blade compilable with view()->file($model->getViewableColumnPath('column_name')); The trait
leemason 10 years ago 6876
Model Based Setting Different Connection when working with 2 or more database in laravel
dhrubo001 10 years ago 6860