Download the PHP package jimmerioles/bitcoin-currency-converter-php without Composer

On this page you can find all versions of the php package jimmerioles/bitcoin-currency-converter-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package bitcoin-currency-converter-php

Bitcoin Currency Converter

Latest Version on Packagist PHP 7.* Tests Test Coverage Maintainability Total Downloads

This library helps developers that need to easily convert bitcoin to fiat currency(ISO 4217) or to another cryptocurrency and vice versa from your exchange rates provider of choice.

Available exchange rates providers are:

If you have any request for other exchange rates provider or other features that you would like for me to add see Contributing.

Features

It is simple, lightweight, extensible, framework agnostic and fast.

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

Please see CHANGELOG for more information on what has changed recently.

Testing

Show full specs and features:

Contributing

Open for suggestions and requests. Please request through issue or pull requests.

Security

If you discover any security related issues, please email [email protected] instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.

Want to show some :heart:?

Let's find Satoshi Nakamoto! or let's have a :coffee:
Donate Bitcoin Donate Ethereum

All versions of bitcoin-currency-converter-php with dependencies

PHP Build Version
Package Version
Requires php Version 8.0.* || 8.1.* || 8.2.*
guzzlehttp/guzzle Version ^7.0
illuminate/cache Version ^9.0
illuminate/filesystem Version ^9.0
composer/composer Version ^2.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package jimmerioles/bitcoin-currency-converter-php contains the following files

Loading the files please wait ....