Example of using the DDD approach with the Symphony 5 infrastructure
Up Docker containers
$ docker-compose up -dOpen applications shell
$ docker-compose exec app shApply migrations
$ ./bin/console doctrine:migrations:migrateLoad fixtures
$ ./bin/console doctrine:fixtures:load$ php /var/www/vendor/phpunit/phpunit/phpunit --no-configuration /var/www/testsSwagger 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