{"repo":"tigusigalpa/phemex-php","free":true,"listed":false,"github":"https://github.com/tigusigalpa/phemex-php","clone":"git clone https://github.com/tigusigalpa/phemex-php.git","description":"A PHP client for the Phemex cryptocurrency API, providing a simple and typed interface for spot and contract trading, market data, wallet operations, and authenticated endpoints. Built with modern PHP, includes signing, HTTP handling, and unit tests.","language":"PHP","stars":15,"topics":["api","bitcoin","chainlink","cryprocurrency","laravel","near-protocol","nearprotocol","phemex","phemex-api","php"],"license":"MIT","category":"blockchain-web3","readme_excerpt":"Phemex PHP A typed PHP client for the Phemex exchange API. Drop it into any PHP 8.1+ project, and if you're on Laravel 10–13 it just works — no extra setup. I got tired of hand-rolling cURL calls, computing HMAC signatures, and bolting on retry logic every time I touched the Phemex API. So this library does all of that for you and hands back a clean, object-oriented interface. You write strategy; it handles the plumbing. --- What's in the box - Runs anywhere. The core is plain PHP 8.1+ built on PSR-18 — no framework required. - Laravel, out of the box. Auto-discovered service provider, publishable config, and a Phemex facade. - Signing you don't think about. Private endpoints get HMAC SHA256 signatures automatically, straight from Phemex's own algorithm. - Your HTTP client, your rules. Guzzle ships by default, but swap in any PSR-18 implementation you like. - Responses that won't break. Return values are DTOs that keep the raw payload around, so when Phemex adds a field, you can still reach it. - Retries handled for you. Rate limits (HTTP 429) and flaky server errors are retried with exponential backoff. - Exceptions that make sense. AuthenticationException , RateLimitException , NotFoundException , ValidationException , and ApiException . - Real-time when you need it. Optional WebSocket streams via ratchet/pawl . --- Installation Laravel The service provider is auto-discovered, so there's nothing to register. Publish the config file whenever you want to tweak the defaults: T","default_branch":null,"files":null,"tree":[],"storefront":"/r/tigusigalpa","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/tigusigalpa/phemex-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."}