Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // make controller with index, create etc methods
- php artisan make:controller TestsController --resource
- // make model with migration
- php artisan make:model Test -m
- // server
- php artisan serve
- // routing controllers
- route::resource('tests','TestsController');
- //making authenitcaion pages
- php artisan make:auth
- //routing through middleware like authentication
- Route::group(['middleware' => 'auth'], function () {
- };
Advertisement
Add Comment
Please, Sign In to add comment