Laravel Community Tools by Tighten

Popular tricks

458 tricks
Laravel passes 100% test coverage on Hip Hop Virtual Machine (HHVM) so you might want to try using it to host your next Laravel application. The advantage of HHVM is an increase in speed of executing your PHP scripts and thus boosting your application. This config was provided by Taylor Otwell.
msurguy 12 years ago 22246
In case you want to access Route parameters outside controller, you can access current Route object and extract parameters from there.
YOzaz 12 years ago 22212
4.1
Laravel 5.4 Upload Image with Validation example
dave 9 years ago 22070
Using this package - http://csv.thephpleague.com/ In your controller or wherever you are calling this method from simply create a method like so: At the top you need to use: use League\Csv; That's about it, you should be good to go! Would like to thank @msurguy for his help on this too. - See more at: http://laravelsnippets.com/members/snippets/csv-data-manipulation-with-laravel#sthash.oqBx1dzA.dpuf
lstables 12 years ago 21848
If you only need the functionality of a custom rule once throughout your application, you may use a Closure instead of a rule object. The Closure receives the attribute's name, the attribute's value, and a $fail callback that should be called if validation fails. Below is the code example:
asifzcpe 5 years ago 21851
When registering a model observer using `Model::observer(Observer::class)`, you can return false and laravel will cancel the method.
stevebauma... 11 years ago 21705
Whoops, looks like something went wrong.
yuran 12 years ago 21578
laravel globale search
hamdiantar 2 years ago 21533
Sometimes, you want to click a column to refine the results of a table further without going through the filter menu on a Filament table.
techenby 2 years ago 21519