A generic connector for the mono bundle for the Relay API gateway
You can install the bundle directly from packagist.org.
composer require dbp/relay-mono-connector-generic-bundle- Add the necessary bundles to your
config/bundles.php:
...
Dbp\Relay\MonoBundle\DbpRelayMonoBundle::class => ['all' => true],
Dbp\Relay\MonoConnectorGenericBundle\DbpRelayMonoConnectorGenericBundle::class => ['all' => true],
Dbp\Relay\CoreBundle\DbpRelayCoreBundle::class => ['all' => true],
];- Run
composer installto clear caches
For this create config/packages/dbp_relay_mono_connector_generic.yaml in the app with the following
content:
dbp_relay_mono_connector_generic:For more info on bundle configuration see Symfony bundles configuration.
- Install dependencies:
composer install - Run tests:
composer test - Run linters:
composer run lint - Run cs-fixer:
composer run cs-fix
Don't forget you need to pull down your dependencies in your main application if you are installing packages in a bundle.
# updates and installs dependencies from dbp/relay-mono-connector-generic-bundle
composer update dbp/relay-mono-connector-generic-bundle