Laravel Sanctum Auth Example Install 🔧 Clone the repo Update composer dependencies composer update Copy .env file cp .env.example .env Generate key php artisan key:generate Set database credentials into .env file Run migrations php artisan migrate