daycry/coinmarketcap

PHP wrapper class for CoinMarketCap.

Maintainers

Package info

github.com/daycry/coinmarketcap

pkg:composer/daycry/coinmarketcap

Statistics

Installs: 120

Dependents: 0

Suggesters: 0

Stars: 2

Open Issues: 0

2.0.0 2019-09-29 19:27 UTC

This package is auto-updated.

Last update: 2026-03-01 00:11:22 UTC


README

PHP wrapper class for CoinMarketCap, built on top of HttpFull.

Requirements

Installation

composer require daycry/coinmarketcap

Usage

<?php

require __DIR__ . '/vendor/autoload.php';

use CoinMarketCap\Base;

$coinmarketcap = new Coinmarketcap( 'key' );

// Get ticker
$coinmarketcap->getLatest();

// Get global data
$coinmarketcap->getGlobal();

See the API documentation for more information about the endpoints and responses.