| Package Data | |
|---|---|
| Maintainer Username: | andskur | 
| Maintainer Contact: | a.skurlatov@gmail.com (Andrey Skurlatov) | 
| Package Create Date: | 2017-05-24 | 
| Package Last Update: | 2018-06-22 | 
| Language: | PHP | 
| License: | MIT | 
| Last Refreshed: | 2025-10-27 03:15:13 | 
| Package Statistics | |
|---|---|
| Total Downloads: | 223 | 
| Monthly Downloads: | 0 | 
| Daily Downloads: | 0 | 
| Total Stars: | 13 | 
| Total Watchers: | 2 | 
| Total Forks: | 9 | 
| Total Open Issues: | 0 | 
CoinMc-laravel is a sCoinMarketCap.com api wrapper for Laravel 5.4
composer require andskur/coinmc
After installing, register the Andskur\CoinMc\CoinMcServiceProvide in your config/app.php configuration file:
'providers' => [
    // Other service providers...
    Andskur\CoinMc\CoinMcServiceProvider::class,
],
Also, add the CoinMc facade to the aliases array in your app configuration file:
'CoinMc' => Andskur\CoinMc\CoinMcFacade::class,
<?php
namespace App\Http\Controllers;
use CoinMc;
class SomeController extends Controller
{
    public function index(CoinMc $coinmc)
    {
        // Get CoinMarketCap tickers sorting by 24h volume
		$coinmc->getTicker();
		// Get ticker for specific coin
		$coin = 'bitcoin';
		$coinmc->tickerCoin($coin);
		// Get global data
		$coinmc->globalData();
    }
}
See the API documentation for more information about the endpoints and responses.
CoinMc-laravel is open-sourced software licensed under the MIT license