/Melodiia

Primary LanguagePHPMIT LicenseMIT

Melodiia

Finally some competitor to ApiPlatform.

Features

  • 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

Install

composer require biig/melodiia

Symfony setup

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

Documentation

Feel free to open an issue, if you encounter problems implementing Melodiia

FAQ

Blank page on documentation

You probably forget to install assets. bin/console assets:install.