
PHP SDK UPGRADE
We're excited to announce the official v1.0.0 release of the Market Data PHP SDK, built for independent traders and developers who want U.S. market data running fast without fighting integration complexity.
This release is about reducing setup friction and day-to-day maintenance, so you can spend more time building strategies, scanners, dashboards, and automated workflows.
Key Features
Bring real-time and historical U.S. stocks and options data into your PHP projects with a single dependency. v1.0.0 includes what you need for serious production use: fast endpoints, reliable behavior under load, clear error reporting, and simple environment-based configuration.
- Strict typing and early guardrails: Built for modern PHP (8.2+), the SDK uses strict typing and typed response models to catch mistakes earlier and make IDE workflows faster with clearer autocomplete and signatures.
- Flexible output formats: Choose the output format that fits your workflow: typed PHP response objects, JSON, or CSV, with no need to redesign your integration.
- Predictable error handling with support-ready context: The SDK provides a clear exception hierarchy (UnauthorizedException, BadStatusCodeError, RequestError, and a shared MarketDataException base), plus request IDs, timestamps, and request URLs to speed up debugging and support tickets.
- Built-in reliability: Automatic retries with exponential backoff handle transient failures, and the SDK checks API status before retrying to avoid unnecessary requests.
- Advanced options filtering: Filter options chains at request time by expiration profile, strike range, delta ranges, spread constraints, open interest, volume, and AM/PM settlement preferences.
- Flexible date and cache controls: Work with practical date/time inputs and control cache freshness with maxage when using cached mode, enabling lower-cost data strategies with explicit freshness boundaries.
- Zero-configuration startup: Get started immediately using MARKETDATA_TOKEN from environment variables or .env, while still supporting explicit constructor-based configuration for production deployments.
- Production-ready architecture: The SDK includes PSR-3 logging support, robust retries, structured exceptions, and broad test coverage across PHP 8.2, 8.3, 8.4, and 8.5.
Also this month
: Bug fixes for both Sheets and the API.- Fixed a bug that caused new users of Sheets to silently fail when opening the Market Data sidebar due to a permissions issue.
- Began work on dividend-adjusted candles. Hopefully coming early March!
- Fixed a bug that caused users to get cached mode even when not requested.