Laravel Community Tools by Tighten

Popular tricks

458 tricks
Using Angular and Blade
Mahmoudz 11 years ago 8259
The easy way to define Eloquent Global Scopes with https://github.com/jarektkaczyk/laravel-global-scope
jarektkacz... 11 years ago 8260
Blade X is cool features in Laravel 7. To know more feature in Laravel 7 visit: http://bit.ly/laravel7
haruncpi 6 years ago 8205
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 11 years ago 8199
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 8135
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 8167
blade extension that displays numbers in Farsi instead of Latin ( "۵" instead of "5").
reshadman 12 years ago 8147
set custom table name for eloquent model
uniqueginu... 5 years ago 8152
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 8127
5.0