{"repo":"tigusigalpa/coinglass-php","free":true,"listed":false,"github":"https://github.com/tigusigalpa/coinglass-php","clone":"git clone https://github.com/tigusigalpa/coinglass-php.git","description":"Framework-agnostic PHP SDK for the Coinglass API v4, with first-class Laravel 10–13 integration. Typed access to Futures, Spot, Options, ETF, On-Chain, and Indicator endpoints, automatic retry on rate limits, plus a real-time WebSocket client for liquidation orders, trades, and ticker snapshots, with no extra WebSocket dependency required","language":"PHP","stars":15,"topics":["api","bitcoin","chainlink","coinglass","coinglass-api","laravel","nearprotocol","php"],"license":"MIT","category":"blockchain-web3","readme_excerpt":"coinglass-php A PHP client for the Coinglass API v4, with first-class Laravel support. coinglass-php is a framework-agnostic PHP SDK for the Coinglass API v4. I put it together while building a liquidation dashboard and got tired of hand-rolling Guzzle calls and juggling raw arrays, so it wraps the Futures, Spot, Options, ETF, On-Chain, and Indicator endpoints — plus the real-time WebSocket streams — in a typed, PSR-18-friendly client that drops straight into Laravel if you need it, or works standalone if you don't. Features - Covers all six endpoint groups: Futures, Spot, Options, ETF, On-Chain, and Indicators. - Ships a real-time WebSocket client for liquidation orders, spot/futures trades, and futures ticker snapshots — no extra WebSocket library needed, it's built on plain PHP streams. - Framework-agnostic: use it standalone in any PHP 8.1+ project, or drop it straight into Laravel. - PSR-18 swappable HTTP client — Guzzle by default, bring your own if you'd rather. - Retries rate-limited (429) requests with exponential backoff, honoring Retry-After when Coinglass sends one. - Hydrates every payload into a CoinGlassDto or CoinGlassCollection , with the original raw payload always within reach. - A small, purposeful exception hierarchy — UnauthorizedException , NotFoundException , RateLimitException , and a generic ApiException for everything else — instead of one catch-all. - Laravel-ready out of the box: publishable config, a bound singleton client, dependency injection, ","default_branch":null,"files":null,"tree":[],"storefront":"/r/tigusigalpa","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/tigusigalpa/coinglass-php/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}