1.3 KiB
1.3 KiB
Symfony 7
implementation on PHP 8.3
that supports PHP 8 attributes, using API Platform.
Contrary to Laravel, the usage of DataMapper pattern ORM involve classic POPO models. The additional usage of plain PHP DTO classes facilitates the OpenAPI spec models generation without writing all schemas by hand. On the downside the Nelmio package is far more verbose than the Laravel OpenAPI version.
Main packages involved :
- API Platform as API framework
- Doctrine as DataMapper ORM
- SensioFrameworkExtraBundle for ParamConverter helper with Doctrine
- FOSRestBundle only for some helpers as DTO automatic converters and validation
- NelmioApiDocBundle as OpenAPI generator
- 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