{"id":16464673,"url":"https://github.com/musheabdulhakim/coingeckoapi","last_synced_at":"2026-02-17T18:31:36.023Z","repository":{"id":59047857,"uuid":"534871498","full_name":"MusheAbdulHakim/CoinGeckoApi","owner":"MusheAbdulHakim","description":" PHP API client for CoinGecko.","archived":false,"fork":false,"pushed_at":"2025-01-04T01:56:11.000Z","size":350,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-11T12:23:04.467Z","etag":null,"topics":["altcoins","bitcoin-api","coingecko","coingecko-api","coingecko-php","cryptocurrency","laravel","php","sdk","sdk-php"],"latest_commit_sha":null,"homepage":"https://musheabdulhakim.github.io/CoinGeckoApi/","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MusheAbdulHakim.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","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},"funding":{"github":"musheabdulhakim","patreon":"musheabdulhakim","custom":"https://paystack.com/pay/musheabdulhakim"}},"created_at":"2022-09-10T02:45:18.000Z","updated_at":"2025-01-04T01:54:45.000Z","dependencies_parsed_at":"2025-01-04T19:30:17.136Z","dependency_job_id":null,"html_url":"https://github.com/MusheAbdulHakim/CoinGeckoApi","commit_stats":{"total_commits":41,"total_committers":1,"mean_commits":41.0,"dds":0.0,"last_synced_commit":"916a35ff429338f3d3b48d9d6543e5c608cebfd3"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MusheAbdulHakim%2FCoinGeckoApi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MusheAbdulHakim%2FCoinGeckoApi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MusheAbdulHakim%2FCoinGeckoApi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MusheAbdulHakim%2FCoinGeckoApi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MusheAbdulHakim","download_url":"https://codeload.github.com/MusheAbdulHakim/CoinGeckoApi/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252842548,"owners_count":21812686,"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","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":["altcoins","bitcoin-api","coingecko","coingecko-api","coingecko-php","cryptocurrency","laravel","php","sdk","sdk-php"],"created_at":"2024-10-11T11:29:09.676Z","updated_at":"2026-02-17T18:31:30.999Z","avatar_url":"https://github.com/MusheAbdulHakim.png","language":"PHP","funding_links":["https://github.com/sponsors/musheabdulhakim","https://patreon.com/musheabdulhakim","https://paystack.com/pay/musheabdulhakim"],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\u003cimg src=\"art/example.png\" height=\"100\" alt=\"CoinGecko client example\"\u003e\n    \u003cp align=\"center\"\u003e\n        \u003ca href=\"https://github.com/MusheAbdulHakim//actions\"\u003e\u003cimg alt=\"GitHub Workflow Status (master)\" src=\"https://github.com/MusheAbdulHakim/coingeckoapi/actions/workflows/tests.yml/badge.svg\"\u003e\u003c/a\u003e\n        \u003ca href=\"https://packagist.org/packages/musheabdulhakim/coingecko\"\u003e\u003cimg alt=\"Total Downloads\" src=\"https://img.shields.io/packagist/dt/musheabdulhakim/coingecko\"\u003e\u003c/a\u003e\n        \u003ca href=\"https://packagist.org/packages/musheabdulhakim/coingecko\"\u003e\u003cimg alt=\"Latest Version\" src=\"https://img.shields.io/packagist/v/musheabdulhakim/coingecko\"\u003e\u003c/a\u003e\n        \u003ca href=\"https://packagist.org/packages/musheabdulhakim/coingecko\"\u003e\u003cimg alt=\"License\" src=\"https://img.shields.io/packagist/l/musheabdulhakim/coingecko\"\u003e\u003c/a\u003e\n    \u003c/p\u003e\n\u003c/div\u003e\n\n------\nThis package provides a wonderful **PHP API** client that allows you to interact\nwith [CoinGecko Api](https://docs.coingecko.com/reference/introduction)\n\n\n**This SDK** is a PHP \u0026 Laravel Package, (Designed to help working with coingecko api easier and faster).\n\n## Requirement\n\u003e **Requires [Composer](https://getcomposer.org/)**\n\u003e **Requires [PHP 8.2+](https://php.net/releases/)**\n\n\u003ca name=\"Installation\"\u003e\u003c/a\u003e\n## Installation\n\n```bash\n composer require musheabdulhakim/coingecko\n```\n\n## Basic usage\n\n```php\n$coingecko = \\MusheAbdulHakim\\CoinGecko\\CoinGecko::client('your-api-key');\n\n//or \n\n$coingecko = \\MusheAbdulHakim\\CoinGecko\\CoinGecko::client('your-api-key','https://api.coingecko.com/api', 'v3');\n```\n\n### Example\n```php\n$coingecko = \\MusheAbdulHakim\\CoinGecko\\CoinGecko::client('your-api-key');\n$ping = $coingecko-\u003eping();\n\n$pingTest = $ping-\u003eping();\n\n//or\n\n$coingecko-\u003epingServer();\n\n```\n\n### Configuration\nUpdate api version, base url and api key\n```php\n\n'COINGECKO_API_VERSION' =\u003e 'v3',\n\n'COINGECKO_BASE_URI' =\u003e 'https://api.coingecko.com/api',\n\n'COINGECKO_API_KEY' =\u003e 'xxxxxxxxxxxxxxxxxxxxxx',\n\n```\n\n\n### Ping\n\n#### [ping](https://www.coingecko.com/api/documentations/v3#/ping/get_ping)\n\nCheck API server status\n\n```php\n$ping = $coingecko-\u003eping();\n```\n\n## License\n\n`musheabdulhakim/coingecko` is released under the MIT License. See the bundled [LICENSE](./LICENSE) for details.\n\n## Contribution\n\n\n🧹 Keep a modern codebase with **php-cs-fixer**:\n\n```bash\ncomposer lint\n```\n\n🚀 Run the entire test suite:\n\n```bash\ncomposer test\n```\n\nReport all your issues [Here](https://github.com/MusheAbdulHakim/CoinGeckoApi/issues)\n\nAll your pull requests are welcome :). \n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmusheabdulhakim%2Fcoingeckoapi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmusheabdulhakim%2Fcoingeckoapi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmusheabdulhakim%2Fcoingeckoapi/lists"}