create laravel project with auth code example

Example 1: laravel make auth

Laravel's laravel/ui package provides a quick way to scaffold all of the routes and views you need for authentication using a few simple commands:

composer require laravel/ui

php artisan ui vue --auth

Example 2: laravel authentication

composer require laravel/ui

php artisan ui vue --auth

Example 3: create project command in laravel

Before starting this hope you installed composer dependancy manager for PHP.
----------------------------------------------------------------------------- 
So if you want to create a project by name of 'first_laravel_app' in directory C:/xampp/htdocs/ then what you need to do is

Locate your project parent directory using cmd
>cd c:/xampp/htdocs

and fire this command 
>composer create-project laravel/laravel first_laravel_app --prefer-dist

And its done, this is really easy and it also creates Application Key automatically for you.
  
# I hope it will help you.
# Namaste

Example 4: laravel 8 make:auth

composer require laravel/ui
php artisan ui vue --auth
php artisan migrate

Example 5: laravel auth

// Laravel 5.x
php artisan make:auth

Example 6: laravel auth

//namespace
use Illuminate\Support\Facades\Auth;