boonkuaeboonsutta / fx-rate-bundle
fx-rate-bundle
Package info
github.com/boonkuaeb/fx-rate-bundle
Type:symfony-bundle
pkg:composer/boonkuaeboonsutta/fx-rate-bundle
v1.0.0.2
2018-05-22 18:09 UTC
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: 2026-03-15 12:44:46 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: