laravel check authphp code example
Example 1: laravel authentication
composer require laravel/ui
php artisan ui vue --auth
Example 2: laravel auth
// Laravel 5.x
php artisan make:auth
composer require laravel/ui
php artisan ui vue --auth
// Laravel 5.x
php artisan make:auth