| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| 6.0 source code.tar.gz | 2026-10-07 | 25.7 kB | |
| 6.0 source code.zip | 2026-10-07 | 30.0 kB | |
| README.md | 2026-10-07 | 1.3 kB | |
| Totals: 3 Items | 57.0 kB | 0 | |
Release v5.0.0
A major release focusing on modernizing the library, improving universal compatibility, and cleaning up legacy code.
New Features
- Universal API Support: Added
setApiVersion()to support alternative paths (like Google Gemini and ByteDance Ark). (#152) - Custom cURL Configs: Added
setCURLOptions()to easily bypass SSL or inject custom timeouts/proxies. (#149) - Standard Webhooks: Added
Webhookclass with robust signature validation. - Deferred API Keys: Added
setApiKey()for better dependency injection. (#156) - Usage & Costs: Full support for organization usage and cost APIs. (#155)
Enhancements
- Model Upgrade: Default chat model updated to
gpt-4o-mini. - Testing Infrastructure: Complete rewrite of the test suite using
Pest, separating live endpoints from mocked transport tests.
Breaking Changes
- Removed Legacy Assistants API: Threads and Runs have been removed. For complex, stateful Assistant workflows, please migrate to the official
openai-php/client. - Removed Obsolete Endpoints: Completely purged the deprecated
Answers,Searches, andClassificationsendpoints.
Install
:::bash
composer require orhanerday/open-ai:^5.0.0