Laravel Eloquent (Model) create and database interaction specify table name

As we all know that laravel follows mvc structure so it has Model View Controllers  So we assume that you know about the basic commands used in laravel. To create the model in laravel type this command in command shell 

php artisan make:model User

This will create a model named user in app/http folder


Other posts