An easy one to forget is adding authentication to laravel 5.7.
$> composer require laravel/ui
$> php artisan ui vue --auth #only if using vue
$> php artisan migrate #add authenticate tables
An easy one to forget is adding authentication to laravel 5.7.
$> composer require laravel/ui
$> php artisan ui vue --auth #only if using vue
$> php artisan migrate #add authenticate tables
In the older version, php artisan make:auth exists. It doesnt now. To rectify, follow the below steps:
composer require laravel/ui
php artisan ui vue --auth
create a new project:
$> laravel new <<project_name>>
add authentication?
$> php artisan make:auth
run server
$> php artisan serve
main config file: .env