swag-industries / melodiia
Library that helps you build APIs
Installs: 13 088
Dependents: 0
Suggesters: 0
Security: 0
Stars: 18
Watchers: 1
Forks: 2
Open Issues: 8
Type:symfony-bundle
Requires
- php: >=7.3
- nekland/tools: ^2.5.1
- pagerfanta/doctrine-orm-adapter: ^3.5
- pagerfanta/pagerfanta: ^2.0.1 || ^3.0.0
- symfony/event-dispatcher: ^5.3 || ^6.0
- symfony/serializer: ^5.3 || ^6.0
- symfony/yaml: ^5.3 || ^6.0
Requires (Dev)
- behat/behat: 3.10.0
- doctrine/annotations: ^1.8
- doctrine/doctrine-bundle: ^2.1
- doctrine/orm: ^v2.6.6
- fakerphp/faker: ^1.12.1
- friends-of-behat/symfony-extension: ^2.3.0
- friendsofphp/php-cs-fixer: ^v3.3.2
- justinrainbow/json-schema: ^5.2
- masterminds/html5: ^2.8
- monolog/monolog: ^3.4 || ^2.9
- phpspec/prophecy: ^1.8
- phpunit/phpunit: ^8.5
- psr/container: ^v1.1.1 || ^2.0
- symfony/symfony: ^5.3 || ^6.0
- twig/twig: ^2.5
README
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.
Features
- 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.
Install
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!
One last thing
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.
FAQ
Blank page on documentation
You probably forget to install assets. bin/console assets:install
.