Skip to content

nunopeixoto/laravel-sanctum-sample

Repository files navigation

Setup

  • composer i
  • Create a database
  • Fill .env with database connection
  • Add to .env:
SANCTUM_STATEFUL_DOMAINS=127.0.0.1:4200,localhost:4200
SESSION_DOMAIN=localhost
  • Create testing database and add it's name on phpunit.xml
php artisan key:generate
php artisan test
php artisan serve

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages