{"id":26613679,"url":"https://github.com/kriosmane/coinmarketcap-api","last_synced_at":"2025-09-04T03:33:00.299Z","repository":{"id":57009200,"uuid":"166436892","full_name":"kriosmane/coinmarketcap-api","owner":"kriosmane","description":"Laravel package for interacting with CoinMarketCap API","archived":false,"fork":false,"pushed_at":"2025-02-28T17:24:44.000Z","size":23,"stargazers_count":8,"open_issues_count":0,"forks_count":5,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-16T12:01:56.332Z","etag":null,"topics":["coinmarketcap","coinmarketcap-api","cryptocoins","cryptocurrencies","cryptocurrency","cryptocurrency-price-ticker","cryptocurrency-prices","laravel"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kriosmane.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-01-18T16:23:28.000Z","updated_at":"2025-02-28T17:24:48.000Z","dependencies_parsed_at":"2025-04-10T03:30:06.264Z","dependency_job_id":"2918281c-8bbf-4551-b931-45fa0b6b926d","html_url":"https://github.com/kriosmane/coinmarketcap-api","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/kriosmane/coinmarketcap-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kriosmane%2Fcoinmarketcap-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kriosmane%2Fcoinmarketcap-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kriosmane%2Fcoinmarketcap-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kriosmane%2Fcoinmarketcap-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kriosmane","download_url":"https://codeload.github.com/kriosmane/coinmarketcap-api/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kriosmane%2Fcoinmarketcap-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271321284,"owners_count":24739472,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-20T02:00:09.606Z","response_time":69,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["coinmarketcap","coinmarketcap-api","cryptocoins","cryptocurrencies","cryptocurrency","cryptocurrency-price-ticker","cryptocurrency-prices","laravel"],"created_at":"2025-03-24T04:36:53.353Z","updated_at":"2025-08-20T12:44:12.122Z","avatar_url":"https://github.com/kriosmane.png","language":"PHP","funding_links":["https://www.buymeacoffee.com/kriosmane"],"categories":[],"sub_categories":[],"readme":"# Laravel CoinMarketCap API\n\n[![Latest Version on Packagist](https://img.shields.io/packagist/v/kriosmane/coinmarketcap-api.svg?style=flat-square)](https://packagist.org/packages/kriosmane/coinmarketcap-api)\n[![Total Downloads](https://img.shields.io/packagist/dt/kriosmane/coinmarketcap-api.svg?style=flat-square)](https://packagist.org/packages/kriosmane/coinmarketcap-api)\n\nA Laravel package for interacting with the CoinMarketCap API.\n\n## 🚀 Installation\n\nLaravel 11 requires **PHP 8.1+** and **Composer**.\n\nTo install the latest version, run:\n\n```bash\ncomposer require kriosmane/coinmarketcap-api\n```\n\n### 📌 Service Provider \u0026 Facade (Not Required for Laravel 11)\n\nFrom 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:\n\n#### Service Provider (Only if required)\n```php\n'providers' =\u003e [\n    KriosMane\\CoinMarketCap\\Providers\\CoinMarketCapServiceProvider::class,\n],\n```\n\n#### Facade (Only if required)\n```php\n'aliases' =\u003e [\n    'CoinMarketCapApi' =\u003e KriosMane\\CoinMarketCap\\Facades\\CoinMarketCap::class,\n],\n```\n\n## ⚙️ Configuration\n\nPublish the configuration file using:\n\n```bash\nphp artisan vendor:publish --provider=\"KriosMane\\CoinMarketCap\\Providers\\CoinMarketCapServiceProvider\"\n```\n\nThis will create a `coinmarketcap.php` file in your `config` directory.\n\nGet your **CoinMarketCap API Key** from:\n\n🔗 [CoinMarketCap API](https://pro.coinmarketcap.com/login/)\n\nThen, add the key to your `.env` file:\n\n```env\nCMC_API_KEY=your-api-key-here\n```\n\n## 📖 Usage\n\nYou can start using the API in your controllers or services:\n\n```php\nuse CoinMarketCap;\n\n// Get latest cryptocurrency listings\n$cryptos = CoinMarketCap::listCryptos();\n\n// Get latest market quotes for a specific cryptocurrency\n$quotes = CoinMarketCap::getQuotes(['symbol' =\u003e 'BTC,ETH']);\n```\n\n## 🤝 Contributing\n\nFeel free to fork this repository and submit a pull request to enhance its functionality.\n\n## ☕ How can I thank you?\n\nIf you found this package helpful, consider buying me a coffee!  \n[☕ Buy me a coffee](https://www.buymeacoffee.com/kriosmane)  \n\n⭐ Star the repo, share it on Twitter, or post about it on HackerNews. Spread the word!\n\nThank you!  \n**Krios Mane**\n\n## 📜 License\n\nPlease see [License File](LICENSE.md) for more information.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkriosmane%2Fcoinmarketcap-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkriosmane%2Fcoinmarketcap-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkriosmane%2Fcoinmarketcap-api/lists"}