Finally some competitor to ApiPlatform.
- Adds a documentation endpoint with help of swagger
- Set of api responses
- Uses Symfony Form as input, because Symfony Serializer is not ready for that
composer require biig/melodiia
Add the bundle to your bundle list:
Biig\Melodiia\Bridge\Symfony\MelodiiaBundle::class => ['all' => true]
Setup the configuration:
# config/packages/melodiia.yaml
melodiia:
apis:
# Choose the name of your api here
main: ~
Add melodiia routing:
admin_routes:
resource: 'melodiia.routing_loader:loadRoutes'
type: service
Feel free to open an issue, if you encounter problems implementing Melodiia
You probably forget to install assets. bin/console assets:install
.