1.5 KiB
1.5 KiB
Symfony 6.0
implementation on PHP 8.1
with usage of API Platform, a very powerful API crud generator that supports PHP 8 attributes. This project tries to be the most "API Platform" way to do it, with usage of Data providers, Data persiters, DTOs, simple action controllers with only one __invoke
known as ADR
pattern.
It was for me the less pleasant experience of all project, as I spent most of the time to fight against the tool instead of really develop the app, but it was the main purpose of this project, as I have already known the classical way to do it. API Platform
is certainly a very powerful and flexible beast, but with some nasty caveats. It was nevertheless very instructive.
Main packages involved :
- API Platform as main API framework superset for symfony
- Doctrine as
DataMapper
ORM - Symfony JWT Bundle implementation
- Alice as fixtures generator that relies on PHP Faker
- PHP CS Fixer as formatter
- PHPStan, as advanced code static analyzer
- PHPUnit as test framework