Stars: 174
Forks: 30
Pull Requests: 26
Issues: 8
Watchers: 11
Last Updated: 2022-11-10 15:06:51
An example of hexagonal API Platform 3 implementation
License:
Languages: Shell, PHP, Twig, Dockerfile, Makefile
An example project of Domain Driven Design using API Platform 3 and following the hexagonal architecture.
This example has been explained during the API Platform conference 2022 (slides, video).
If you want to try to use and tweak that example, you can follow these steps:
git clone https://github.com/mtarld/apip-ddd
to clone the projectmake install
to install the projectmake start
to up your containersThat implementation is pragmatic and far for being uncriticable. It's mainly an conceptual approach to use API Platform in order to defer operations to command and query buses.
It could and should be improved, therefore feel free to submit issues and pull requests if something isn't relevant to your use cases or isn't clean enough.
To ensure that the CI will succeed whenever contributing, make sure that either static analysis and tests are successful by running make ci
Mathias Arlaud with the help of Robin Chalas