- copy
.env.example
to.env
and do adjustment if needed - run
php artisan key:generate
to generate or rotate application key - run
php artisan migrate
orphp artisan migrate:fresh
to reset the DB - run
php artisan passport:keys --force
to generate oauth2 keys - run
php artisan passport:client --password --provider users
to support oauth2 client onUser
- run
php artisan passport:client --personal
to support personal access token (OPTIONAL) - run
php artisan db:seed
if any (OPTIONAL) - run
php artisan config:cache
to cache config (OPTIONAL)
./vendor/bin/psalm
Run php artisan telescope:publish
and comment out the service provider on AppServiceProvider
.
We disable it by default because it has bugs, use when you are on debugging mode only
php artisan passport:install --uuids
php artisan horizon:install
php artisan telescope:install