Laravel Community Tools by Tighten

Popular tricks

458 tricks
If your need run TDD on SQLite (this perfect performance if run on memory) and your migrations have most alter tables, probably you have a problems.
sr2ds 7 years ago 8193
The easy way to define Eloquent Global Scopes with https://github.com/jarektkaczyk/laravel-global-scope
jarektkacz... 10 years ago 8174
This is not how I write code on a daily basis, I brought everything to one place JUST OF THE PURPOS OF demonstrating how this stuff work. And in this example they do work:
Mahmoudz 10 years ago 8133
Usually you would use @section and @stop to pass data to a Blade section. When your data is limited to a short text like page title you could use the second argument of @section to pass that data.
msurguy 12 years ago 8049
blade extension that displays numbers in Farsi instead of Latin ( "۵" instead of "5").
reshadman 12 years ago 8074
Blade X is cool features in Laravel 7. To know more feature in Laravel 7 visit: http://bit.ly/laravel7
haruncpi 6 years ago 8081
This snippet will help you to make autocomplete from the database. You will get more instruction about it https://bit.ly/2rFmUEW
haruncpi 6 years ago 8051
set custom table name for eloquent model
uniqueginu... 5 years ago 8048
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 8047
5.0