Laravel Community Tools by Tighten

Category "Eloquent" tricks

140 tricks
Route file with angular js
Darshan Ma... 10 years ago 5818
Js COntroller Insert update delete..
Darshan Ma... 10 years ago 7296
insert update delete UserController.php
Darshan Ma... 10 years ago 7651
Laravel in insert udpate record..
Darshan Ma... 10 years ago 7949
Laravel deleter record in db
Darshan Ma... 10 years ago 6116
This is usefull for migrations when you can't rollback. Can easily be run in artisan mode or you can create a console command.
naneri 10 years ago 14542
This employs Eloquent's polymorphic relationships (https://laravel.com/docs/5.1/eloquent-relationships#polymorphic-relations) to provide a simple flat comment thread system.
Riari 10 years ago 12748
If you want to use(or work with) another database in a section of your project use following steps... step 1. Create another connection in config/database.php step 2. Insert new connection info in .env file... step 3. Tell to laravel to use this new connection
tuytoosh 10 years ago 7222
This snippet will allow you to add to the request. Tested in Laravel 5.2
wolf 10 years ago 8676
5.0