laravel 8 sanctum + react token based authentication code example
Example: laravel sanctum auth setup
php artisan vendor:publish --provider="Laravel\Sanctum\SanctumServiceProvider"
php artisan vendor:publish --provider="Laravel\Sanctum\SanctumServiceProvider"