is auth laravel code example
Example 1: laravel auth user_id
$userId = Auth::id();
Example 2: laravel 6 auth
composer require laravel/ui "^1.0" --dev
php artisan ui vue --auth
Example 3: php artisan ui:auth laravel 7
composer require laravel/ui
php artisan ui vue --auth
Example 4: laravel setup auth
// Laravel 5.x
php artisan make:auth