composer require laravel/ui --dev
php artisan ui vue --auth
npm install
npm run dev
Seeder
php artisan make:seeder ModelTableSeeder
php artisan db:seed
Factory
php artisan make:factory ModelFactory
php artisan tinker
factory(App\Model::class,50)->create();
Migrations
php artisan make:migration create_models_table
php artisan migrate
php artisan migrate:rollback
php artisan migrate:refresh
php artisan make:controller ModelController
php artisan make:model Model
Route::method('uri','ModelController@method')->name(method);
php artisan make:model Model -a
- auto generate
model
factory
migrations
controller