Skip to content
Pim Feltkamp edited this page Apr 27, 2026 · 6 revisions

Cryptohopper PHP SDK — Wiki

Welcome. This wiki hosts deeper-dive material that doesn't belong in the README: auth flows, error taxonomy, rate-limit strategy, recipes, and design notes. The same content also ships as docs/ in the main repo — wiki pages are kept in sync with each SDK release.

Quick links

  • Getting Started — install, first call, common pitfalls
  • Authentication — bearer tokens, app keys, BYO Guzzle client, refresh-token pattern
  • Error Handling — every error code, TIMEOUT vs NETWORK_ERROR discrimination, retry wrapper, Sentry/Laravel integration
  • Rate Limits — 429 retry logic, queue-based concurrency, multi-process PHP-FPM coordination
  • Recipes — copyable patterns: backtest polling, fill detection, PHP 8 match on errors, BYO Guzzle middleware, MockHandler testing
  • Comparison — same operations side-by-side across all 9 SDKs (Node, Python, Go, Ruby, Rust, PHP, Dart, Swift, CLI)

Other resources

Sibling SDKs

Every official SDK covers the same 18 API domains with the same error taxonomy and retry model: Node, Python, Go, Ruby, Rust, PHP, Dart, Swift, plus the cryptohopper CLI.

Clone this wiki locally