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.

// Laravel version < 6
php artisan make:auth

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