Friday, October 27, 2017

Auth class installation

1st check where will be add new file after install auth class
controller,  resource> views and routes > web.php 

open terminal:

php artisan make:auth
 make sure

3 new file change after installing auth class: 
controller: homeController.php
view: home.blade.php, layout and auth
routes: web.php
Auth::routes();

Route::get('/home', 'HomeController@index')->name('home');


In project we will get access now public/login and public/register url 

0 comments:

Post a Comment