/base-api-laravel-9-jwt-csrf

Base API project - Laravel 9 - JWT Cookie - CSRF Token

Primary LanguagePHP

Laravel 9 API - JWT Cookie - Token CSRF - Pest PHP

Install dependencies

composer install

Update dependencies

composer update

Start dev server

php artisan serve

Start Pest testing

./vendor/bin/pest
./vendor/bin/pest --coverage

Contributing

If you want to contribute to the project, please send PR

Divers

Don't forget to create your .env from .env.example and add your JWT_SECRET in your .env with php artisan jwt:secret and paste a different one in .env.testing. If you add JWT_SECRET in your env.testing, you have to add this file to your .gitignore.