Example of using the DDD approach with the Symphony 5 infrastructure
Up Docker containers
$ docker-compose up -d
Open applications shell
$ docker-compose exec app sh
Apply migrations
$ ./bin/console doctrine:migrations:migrate
Load fixtures
$ ./bin/console doctrine:fixtures:load
$ php /var/www/vendor/phpunit/phpunit/phpunit --no-configuration /var/www/tests
Swagger UI: http://localhost/docs
For this sample, you can use the api key special-key
to test the authorization filters.
OAS3 API documentation:
public/specification.yaml
ER Diagram
article.uml