C
openai-php/client★ 5,834 · PHP
Community PHP SDK for OpenAI API calls, structured responses, and SSE streaming
MIT · Commercial Friendlyv0.22.0
Side-by-side 2026 comparison in LLMs & Inference: openai/openai-python leads both total GitHub adoption (★ 32.3k) and recent 7-day momentum. Licensing: MIT · Commercial Friendly vs Apache-2.0 · Commercial Friendly.
Community PHP SDK for OpenAI API calls, structured responses, and SSE streaming
Typed sync and async Python SDK for OpenAI API calls, streaming, and Realtime.
Backed by independent 6-hour D1 snapshots. Embed in GitHub READMEs or technical blogs.
| Dimension | openai-php/client | openai/openai-python |
|---|---|---|
| Total GitHub Stars | ★ 5,834 | ★ 32,302 |
| 24h / 7d Velocity | +0 / +1 | +0 / +58 |
| 7-Day Trend Curve | ||
| Engineering Health | A+ · 95/100 | A+ · 100/100 |
| Deployment Signals | API | API |
| Primary Language | PHP | Python |
| Commercial License | MIT · Commercial Friendly | Apache-2.0 · Commercial Friendly |
| Activity | Updated 6d ago | Updated yesterday |
| Latest Release | v0.22.0 | v3.63.0 |
| Best For | PHP 8.2+ backends that need structured OpenAI Responses, streaming output, or remote conversation state with minimal custom transport code | Python services and tools that call OpenAI APIs and need typed responses, SSE streaming, or bidirectional Realtime sessions |
composer require openai-php/client
# install from PyPI pip install openai
Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy