boonkuaeboonsutta / fx-rate-bundle
fx-rate-bundle
Installs: 8
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:symfony-bundle
Requires
- php: ^7.1.3
- guzzlehttp/guzzle: ^6.3
- symfony/config: ^3.4 ||^4.0
- symfony/dependency-injection: ^3.4 ||^4.0
- symfony/http-kernel: ^3.4 ||^4.0
Requires (Dev)
- symfony/phpunit-bridge: ^4.0
This package is not auto-updated.
Last update: 2024-11-10 05:51:22 UTC
README
FxRateBundle is a way for connect to FX Rate API into your Symfony application.
Install the package with:
composer require boonkuaeboonsutta/fx-rate-bundle
Create 'config/routes/bk_fx_rate.yml' file. A File contain as below
_bk_fx_rate:
resource: '@BKFxRateBundle/Resources/config/routes.xml'
prefix: /api/fxrate/
Create anathor file at 'config/packages/bk_fx_rate.yml'
bk_fx_rate :
endpoints : https://forex.1forge.com/1.0.3/convert
api_key : <YOUR API KEY>
Usage
This bundle provides a single service for connect to the FX Api, which
you can autowire by using the BK
type-hint: