Generating the Secret in Laravel
When using `tymon/jwt-auth`, run:
```bash
php artisan jwt:secret
```
This automatically creates a random 256-bit string and writes it to your `.env` file under `JWT_SECRET`. If deploying via CI/CD, generate your secret using our generator and inject it into the pipeline.
Frequently Asked Questions
Does Laravel Sanctum use JWTs?
By default, Laravel Sanctum issues database-backed personal access tokens, not stateless JWTs. However, Sanctum can be used alongside stateless JWT packages if requested.