ardigital / tbc-exchange-rates
Tbc Bank Commercial Exchange Rates For Georgian Lari
Installs: 31
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/ardigital/tbc-exchange-rates
Requires
- php: ^7.2.5 || ^8.0
- guzzlehttp/guzzle: ^7.0.1
This package is auto-updated.
Last update: 2025-10-16 20:16:55 UTC
README
This package allows you Exchange Rates with TbcBank API
Table of Contents
Installation
composer require ardigital/tbc-exchange-rates
For Laravel >= 7.0
Open config/app.php
and add TbcExchangeRatesServiceProvider
to the providers
array.
'providers' => [ ArDigital\TbcExchangeRates\TbcExchangeRatesServiceProvider::class, ],
Then run:
php artisan vendor:publish --provider="ArDigital\TbcExchangeRates\TbcExchangeRatesServiceProvider"
Place your api key config/tbcexchange.php
file Or .env :
TBC_EXCHANGE_RATES_KEY="Your Api Key"
TBC_GUZZLE_VERIFY=false
Usage
Exchange rates Class
In TbcExchangeRates
class, add ResultLis()
method and return currency
use ArDigital\TbcExchangeRates\TbcExchangeRates; public function getCurrency(){ TbcExchangeRates::get(); // Return All currency TbcExchangeRates::get('USD'); // Return Usd currency USD buy and sell } OR: public function Convert(){ TbcExchangeRates::Convert(100, 'USD', 'GEL'); }