Finally some competitor to ApiPlatform.
Melodiia has been designed to do exactly what you want it does. No magic here. It's just a set of tools that work nicely with Symfony.
- Adds a documentation endpoint with help of swagger
- Set of api responses
- Uses Symfony Form as input
- CRUD controllers
- Error management
- Output format as json-api, a format that has 1.x version
Learn more in the complete documentation.
Melodiia requires PHP 8.0 or higher. For php 7.4 you can still use this tag https://github.com/swagindustries/Melodiia/releases/tag/0.10.2
composer require swag-industries/melodiia
The recipe will automatically create the configuration file melodiia.yaml
. If you decided to not execute this recipe,
please refer to the
recipe repository of Symfony.
You may want to read the getting started doc at this point!
If you're experimenting an issue while trying Melodiia, you will maybe find the solution in the troubleshooting section.
I (Nek-) designed Melodiia while I was working at Biig in the mean time. This presentation of Melodiia @Biig-io is related to an old version of Melodiia but can still helps you to understand what is melodiia and how it's different from API Platform (TL;DR: Melodiia does less).
Feel free to open an issue, if you encounter problems while implementing Melodiia.