1. Home
  2. Artisan
  3. Make auth

Depending on Laravel version installed you can add auth functionality to your app using the following commands. Make sure you have a database configured and connected for this step as it will be needed to create a user table.

#artisan#php#make#auth
// Laravel version < 6
php artisan make:auth

// Laravel verions >= 6
composer require laravel/ui
php artisan ui vue --auth
php artisan migrate
copy
Full Artisan cheatsheet