Download the PHP package ilcleme/cryptocurrencies-laravel without Composer

On this page you can find all versions of the php package ilcleme/cryptocurrencies-laravel. 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 cryptocurrencies-laravel

Cryptocurrencies API Laravel Manager

Laravel wrapper for the main cryptocurrencies APIs, provides an easy way to use the third-part API. Recover a gateway from the cryptocurrencies Manager and start to query the chosen API.

Latest Stable Version Total Downloads Latest Unstable Version License

Requirements

The minimum requirement by Cryptocurrencies API Laravel Manager is Laravel 5.7 installed and your Web server supports PHP 7.1.

Installation

To install Cryptocurrencies API Laravel Manager package you can use a simple composer command.

Publish Vendor

This step is fundamental to use every API calls. After install the package you could publish the config package file, use this command:

Now you can override the default configuration and insert you personal api key for every third-part service.

Architecture

The package contains 3 main objects that have been used to interact with the bees:

Available gateways:

Usage

To use the package simply get the Cryptocurrencies API Manager instance from the container. Get the choosen Gateway based on type of query you want to do, for example to "get price of BTC in fiat currencies" use the Cryptocompare "Price Data". Use the gateway methods with right parameters to query the api. For example:

set a route for this controller and expect to receive a similar response:

To use Coinmarketcap gateway is the same way:

Response expected:

Gateway and API Reference

Here there is full api and gateways reference for Cryptocompare API

Here there is full api and gateways reference for Coinmarketcap API

Test

To run the package test you need to install the dev requirements (test tools) and run phpunit from the package folder

if you want a more verbose log use this command


All versions of cryptocurrencies-laravel with dependencies

PHP Build Version
Package Version
Requires php Version ^7.1.3
guzzlehttp/guzzle Version ^6.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 ilcleme/cryptocurrencies-laravel contains the following files

Loading the files please wait ....