Download the PHP package olakunlevpn/bitcoin_ng without Composer
On this page you can find all versions of the php package olakunlevpn/bitcoin_ng. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download olakunlevpn/bitcoin_ng
More information about olakunlevpn/bitcoin_ng
Files in olakunlevpn/bitcoin_ng
Package bitcoin_ng
Short Description A lightweight bitcoin to Nigerian (NGN) converter and vice versa based on current exchange rates from your chosen provider: Coinbase, Coindesk, Bitpay and etc.
License MIT
Informations about the package bitcoin_ng
Bitcoin Naira Currency Converter
Simple bitcoin converter from Nigerian (NGN) currency to bitcoin and also support USD to bitcoin conversion only.
Features
It is simple, lightweight, extensible, framework agnostic and fast.
- You can convert Bitcoin to any currency Naira (NGN) and USD only
-
You can convert Nigerian (NGN) currency (ISO 4217 fiat or another cryptocurrency) to Bitcoin
- It supports different exchange rates providers: Coinbase, Coindesk, Bitpay
- It has baked-in caching (PSR16 compliant, swappable with your own or your framework's)
Install
Lets begin by installing the library by Composer:
Usage
You can then convert Bitcoin to any currency (ISO 4217 fiat or crypto) by:
or you can use the helper function for convenience:
You can also convert any currency (ISO 4217 fiat or crypto) to Bitcoin:
and it also has its helper function for convenience:
You can use different exchange rates from providers:
or if you prefer to use the helper functions:
You can specify cache expire time (ttl) on provider by:
Change log
Initial release
Testing
Show full specs and features:
License
The MIT License (MIT). Please see License File for more information.
All versions of bitcoin_ng with dependencies
guzzlehttp/guzzle Version ^6.3
illuminate/cache Version ^5.5
illuminate/filesystem Version ^5.5
composer/composer Version ^1.5