PHPackages                             kriosmane/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. kriosmane/coinmarketcap-api

ActiveLibrary[API Development](/categories/api)

kriosmane/coinmarketcap-api
===========================

Laravel package for interacting with CoinMarketCap API

v3.1(1y ago)81.2k3BSD-3-ClausePHPPHP ^8.0|^8.1|^8.2|^8.3

Since Jan 21Pushed 1y ago1 watchersCompare

[ Source](https://github.com/kriosmane/coinmarketcap-api)[ Packagist](https://packagist.org/packages/kriosmane/coinmarketcap-api)[ Docs](https://github.com/kriosmane/coinmarketcap-api)[ RSS](/packages/kriosmane-coinmarketcap-api/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (4)DependenciesVersions (9)Used By (0)

Laravel CoinMarketCap API
=========================

[](#laravel-coinmarketcap-api)

[![Latest Version on Packagist](https://camo.githubusercontent.com/91ad20edaf20f521be7c0df33ce9a03fdf51644e78ff5a0b7995798300f3d2e7/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6b72696f736d616e652f636f696e6d61726b65746361702d6170692e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/kriosmane/coinmarketcap-api)[![Total Downloads](https://camo.githubusercontent.com/82d46257c01c4cc19447dd00d128822f122d8ff7287ab02af182f60d639fe751/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6b72696f736d616e652f636f696e6d61726b65746361702d6170692e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/kriosmane/coinmarketcap-api)

A Laravel package for interacting with the CoinMarketCap API.

🚀 Installation
--------------

[](#-installation)

Laravel 11 requires **PHP 8.1+** and **Composer**.

To install the latest version, run:

```
composer require kriosmane/coinmarketcap-api
```

### 📌 Service Provider &amp; Facade (Not Required for Laravel 11)

[](#-service-provider--facade-not-required-for-laravel-11)

From Laravel 11, service providers and facades are auto-discovered. However, if you need to register them manually, add the following to your `config/app.php` file:

#### Service Provider (Only if required)

[](#service-provider-only-if-required)

```
'providers' => [
    KriosMane\CoinMarketCap\Providers\CoinMarketCapServiceProvider::class,
],
```

#### Facade (Only if required)

[](#facade-only-if-required)

```
'aliases' => [
    'CoinMarketCapApi' => KriosMane\CoinMarketCap\Facades\CoinMarketCap::class,
],
```

⚙️ Configuration
----------------

[](#️-configuration)

Publish the configuration file using:

```
php artisan vendor:publish --provider="KriosMane\CoinMarketCap\Providers\CoinMarketCapServiceProvider"
```

This will create a `coinmarketcap.php` file in your `config` directory.

Get your **CoinMarketCap API Key** from:

🔗 [CoinMarketCap API](https://pro.coinmarketcap.com/login/)

Then, add the key to your `.env` file:

```
CMC_API_KEY=your-api-key-here
```

📖 Usage
-------

[](#-usage)

You can start using the API in your controllers or services:

```
use CoinMarketCap;

// Get latest cryptocurrency listings
$cryptos = CoinMarketCap::listCryptos();

// Get latest market quotes for a specific cryptocurrency
$quotes = CoinMarketCap::getQuotes(['symbol' => 'BTC,ETH']);
```

🤝 Contributing
--------------

[](#-contributing)

Feel free to fork this repository and submit a pull request to enhance its functionality.

☕ How can I thank you?
----------------------

[](#-how-can-i-thank-you)

If you found this package helpful, consider buying me a coffee!
[☕ Buy me a coffee](https://www.buymeacoffee.com/kriosmane)

⭐ Star the repo, share it on Twitter, or post about it on HackerNews. Spread the word!

Thank you!
**Krios Mane**

📜 License
---------

[](#-license)

Please see [License File](LICENSE.md) for more information.

###  Health Score

43

—

FairBetter than 90% of packages

Maintenance41

Moderate activity, may be stable

Popularity22

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity81

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

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 ~318 days

Recently: every ~0 days

Total

8

Last Release

488d ago

Major Versions

v1.0.0 → v2.0.02021-04-09

v2.0.0 → V3.0.02025-02-27

PHP version history (4 changes)v1.0.0PHP ^7.1

v2.0.0PHP ^7.1|^8.0

V3.0.0PHP ^8.0|^8.1|^8.2|^8.3|^8.4

V3.0.0.1PHP ^8.0|^8.1|^8.2|^8.3

### Community

Maintainers

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

---

Top Contributors

[![kriosmane](https://avatars.githubusercontent.com/u/3630423?v=4)](https://github.com/kriosmane "kriosmane (24 commits)")

---

Tags

coinmarketcapcoinmarketcap-apicryptocoinscryptocurrenciescryptocurrencycryptocurrency-price-tickercryptocurrency-priceslaravelapilaravelprocoin marketcap

### Embed Badge

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

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

###  Alternatives

[joisarjignesh/bigbluebutton

BigBlueButton Server API Library for Laravel

162151.8k1](/packages/joisarjignesh-bigbluebutton)

PHPackages © 2026

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