Api features for EkynaResourceBundle.
Install through composer:
composer require ekyna/api-bundle:^0.8
Register the bundles:
// config/bundles.php
<?php
return [
// ...
Ekyna\Bundle\ResourceBundle\EkynaResourceBundle::class => ['all' => true],
Ekyna\Bundle\ApiBundle\EkynaApiBundle::class => ['all' => true],
];
See this page to configure ekyna/resource-bundle.
ekyna_api:
routing_prefix: /api