dbp / relay-mono-connector-generic-bundle
A generic connector for the mono payment bundle for the Relay API gateway
Installs: 7 838
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 5
Forks: 0
Open Issues: 1
Type:symfony-bundle
Requires
- php: >=8.1
- ext-json: *
- api-platform/core: ^2.7.11 || ^3.2
- dbp/relay-core-bundle: ^0.1.148
- dbp/relay-mono-bundle: ^0.4.10
- guzzlehttp/guzzle: ^7.4
- psr/log: ^1.1.4 || ^2.0 || ^3.0
- symfony/config: ^5.4 || ^6.4
- symfony/dependency-injection: ^5.4 || ^6.4
- symfony/framework-bundle: ^5.4.30 || ^6.4
- symfony/http-foundation: ^5.4 || ^6.4
- symfony/http-kernel: ^5.4 || ^6.4
Requires (Dev)
- doctrine/doctrine-bundle: ^2.11.2
- friendsofphp/php-cs-fixer: ^3.50
- phpstan/phpstan: ^1.10.59
- phpstan/phpstan-phpunit: ^1.3.16
- phpunit/phpunit: ^10.1
- symfony/browser-kit: ^5.4 || ^6.4
- symfony/http-client: ^5.4 || ^6.4
- symfony/monolog-bundle: ^3.10
- symfony/phpunit-bridge: ^7.0.4
- vimeo/psalm: ^5.22.2
README
A generic connector for the mono bundle for the Relay API gateway
Bundle installation
You can install the bundle directly from packagist.org.
composer require dbp/relay-mono-connector-generic-bundle
Integration into the API Server
- 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 install
to clear caches
Configuration
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.
Development & Testing
- Install dependencies:
composer install
- Run tests:
composer test
- Run linters:
composer run lint
- Run cs-fixer:
composer run cs-fix
Bundle dependencies
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