auth:user() blade laravel code example
Example 1: laravel auth
//laravel 8.x
//for bootstrap scafolding
php artisan ui bootstrap --auth
Example 2: laravel auth
// Laravel 5.x
php artisan make:auth
//laravel 8.x
//for bootstrap scafolding
php artisan ui bootstrap --auth
// Laravel 5.x
php artisan make:auth