beycanpress/currency-converter

It takes on the task of converting between fiat and cryptocurrencies.

Installs: 44

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 0

Open Issues: 0

pkg:composer/beycanpress/currency-converter

0.1.4 2025-06-23 04:20 UTC

This package is auto-updated.

Last update: 2025-10-23 04:57:33 UTC


README

About

It takes on the task of converting between fiat and cryptocurrencies.

Installation

composer require beycanpress/currency-converter

Usage

use BeycanPress\CurrencyConverter;


$converter = new CurrencyConverter('CryptoCompare | CoinMarketCap | CoinGecko', 'api key for coinmarketcap');
$paymentPrice = $converter->convert('USD', 'BTC', 15 /* USD Price */);

$paymentPrice // BTC Price