eloquent ORM laravel code example
Example 1: Eloquent ORM means
ORM stands for object relation model
Example 2: crrate model in laravel
php artisan make:model Flight -mcr
#it will make model with name of Flight
#it will also create conctroller file with FlightController name
#all function will present in this Controller (index, create, store, show, edit, update, destroy)