skylark / currency-converter
This will return the exchange rate of Euro for the amount and currency that you are given.
Installs: 2
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/skylark/currency-converter
Requires (Dev)
- orchestra/testbench: 6.x-dev
- phpunit/phpunit: ^9.3
This package is auto-updated.
Last update: 2026-01-14 19:31:27 UTC
README
This will return the exchange rate of Euro for the amount and currency that you are given.
Installation
Install the package by the following command,
composer require skylark/currency-converter
Add the provider inside the config/app.php,
Skylark\CurrencyConverter\CurrencyServiceProvider::class,
Give the following two parameter to get the Euro currency: (i) amount (ii) currency
Api is: BaseUrl/currency-converter/{amount}/{currency}
Example:
http://127.0.0.1:8000/currency-converter/100/usd