Laravel Community Tools by Tighten

Popular tricks

458 tricks
With this trick we add custom queries in the laravel paginator.
Hoosk 10 years ago 7367
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 7357
5.0
Chunk collections by percentages
jamosaur 10 years ago 7319
Getting an instance of the Laravel IOC container for testing. ONLY IF THE FUNCTIONAL TEST IS INSIDE A LARAVEL PACKAGE YOU CAN DO THE FOLLOWING: EXTEND THIS FROM YOUR PARENT TEST CLASS.
Mahmoudz 11 years ago 7313
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 11 years ago 7313
5.0
Make a sitemap for your laravel blog site. Posted on https://bit.ly/36v9Elp
haruncpi 6 years ago 7308
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 7280
Model Based Setting Different Connection when working with 2 or more database in laravel
dhrubo001 11 years ago 7246
gmail sending using smtp in laravel
PunnaRao 10 years ago 7228