PHPackages                             rentberry/coinmarketcap-api - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. rentberry/coinmarketcap-api

ActiveLibrary[API Development](/categories/api)

rentberry/coinmarketcap-api
===========================

Coinmarketcap API PHP client

1.0.1(5y ago)2957.7k7[2 PRs](https://github.com/Rentberry/coinmarketcap-api-php/pulls)MITPHPPHP &gt;=7.1

Since Jan 29Pushed 3y ago4 watchersCompare

[ Source](https://github.com/Rentberry/coinmarketcap-api-php)[ Packagist](https://packagist.org/packages/rentberry/coinmarketcap-api)[ RSS](/packages/rentberry-coinmarketcap-api/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (2)Dependencies (2)Versions (5)Used By (0)

Coinmarketcap.com API Client
----------------------------

[](#coinmarketcapcom-api-client)

[![Build Status](https://camo.githubusercontent.com/83b037ba5d5097323e2cce5ab496cbb194d6151d277a29c24e11a9c181fb7b0d/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f52656e7462657272792f636f696e6d61726b65746361702d6170692d7068702e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/Rentberry/coinmarketcap-api-php)[![License](https://camo.githubusercontent.com/5d7909a6151a0e3f0017d66dbe43ac5e700103dc3860c5665c1491b0480a4616/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f72656e7462657272792f636f696e6d61726b65746361702d6170692e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/rentberry/coinmarketcap-api)[![Latest Stable Version](https://camo.githubusercontent.com/4a6f0958e1b49ea586763f11fb3db915c327f38db46469d530f98635b0c7dc94/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f72656e7462657272792f636f696e6d61726b65746361702d6170692e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/rentberry/coinmarketcap-api)[![Total Downloads](https://camo.githubusercontent.com/d378d5c9ef08e97c617a602dfe9d04ad96ab63d8411e8e8fbee41b4862a4cea0/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f72656e7462657272792f636f696e6d61726b65746361702d6170692e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/rentberry/coinmarketcap-api)

PHP client for [CoinMarketCap JSON API](https://coinmarketcap.com/api/)

Installation
============

[](#installation)

```
composer require rentberry/coinmarketcap-api
```

Usage
=====

[](#usage)

```
$client = new Rentberry\Coinmarketcap\Coinmarketcap();
$client->getTickers();
$client->getTicker('bitcoin');
$client->getExchangeRate('ethereum', 'USD');
$client->convertToFiat(10, 'ethereum', 'USD');
$client->convertToCrypto(10, 'USD', 'ethereum');
$client->getGlobal();
```

License
=======

[](#license)

MIT. See [LICENSE](https://github.com/rentberry/coinmarketcap-api-php/blob/master/LICENSE)

###  Health Score

36

—

LowBetter than 82% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity34

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~1127 days

Total

2

Last Release

1899d ago

PHP version history (2 changes)1.0.0PHP ^7.1

1.0.1PHP &gt;=7.1

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/18612064?v=4)[Rentberry](/maintainers/Rentberry)[@Rentberry](https://github.com/Rentberry)

---

Top Contributors

[![Bukashk0zzz](https://avatars.githubusercontent.com/u/1908342?v=4)](https://github.com/Bukashk0zzz "Bukashk0zzz (2 commits)")[![sleever](https://avatars.githubusercontent.com/u/11486220?v=4)](https://github.com/sleever "sleever (1 commits)")[![trntv](https://avatars.githubusercontent.com/u/1162056?v=4)](https://github.com/trntv "trntv (1 commits)")[![XNicON](https://avatars.githubusercontent.com/u/6958903?v=4)](https://github.com/XNicON "XNicON (1 commits)")

---

Tags

blockchaincoinmarketcap-apiphpsdk

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/rentberry-coinmarketcap-api/health.svg)

```
[![Health](https://phpackages.com/badges/rentberry-coinmarketcap-api/health.svg)](https://phpackages.com/packages/rentberry-coinmarketcap-api)
```

###  Alternatives

[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3731.2M42](/packages/tencentcloud-tencentcloud-sdk-php)[convertkit/convertkitapi

Kit PHP SDK for the Kit API

2167.1k1](/packages/convertkit-convertkitapi)[mapado/rest-client-sdk

Rest Client SDK for hydra API

1125.9k2](/packages/mapado-rest-client-sdk)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
