composer install
in this directory to install dependenciesopenssl genrsa -out private.key 1024
openssl rsa -in private.key -pubout > public.key
data/cache
and data/db
folders for doctrine cache and SQLite DB file.config/autoload/doctrine.local.php.dist
file as config/autoload/doctrine.local.php
and configure yoru databasevendor/bin/doctrine orm:schema-tool:create
data/samples/sample_data.sql
file.composer serve
data/samples/postman_collection.json
file to execute sample requests with Postman.For my opinion, Some of the OAuth entities should be moved to redis or similar key value fast storage. Otherwise, your API or application can be slower than your expectation. Please contact with me.
Check the The PHP League Example Page