{"full_name":"openai-php/client","owner":"openai-php","name":"client","shard":"1","url":"https://github.com/openai-php/client","description":"⚡️ OpenAI PHP is a supercharged community-maintained PHP API client that allows you to interact with OpenAI API.","homepage":"","topics":["api","client","codex","gpt-3","language","natural","openai","php","processing","sdk","gpt-4","gpt-5"],"tag_pages":["api","client","codex","gpt-3","gpt-4","language","openai","php","sdk"],"language":"PHP","license":"MIT","avatar":"https://avatars.githubusercontent.com/u/114351357?v=4","created_at":"2022-09-25T22:08:39Z","pushed_at":"2026-11-14T11:43:11Z","metrics":{"stars":5835,"forks":682,"watchers":81,"issues":367,"prs":404,"releases":48,"issues_open":13,"issues_closed":354,"prs_open":12,"prs_closed":83,"prs_merged":309,"discussions":72},"growth":{"day":{"stars":-2,"forks":0,"base_day":"2026-11-15"}},"history":{"dates":["2026-11-10","2026-11-11","2026-11-12","2026-11-13","2026-11-14","2026-11-15","2026-11-16"],"stars":[5836,5836,5836,5836,5836,5837,5835],"forks":[682,682,682,682,682,682,682],"watchers":[null,81,81,81,81,81,81],"issues_open":[null,13,13,13,13,13,13],"prs_open":[null,12,11,11,14,12,12]},"boards":{},"same_owner":[],"issues":[{"number":285,"title":"Add Auto function execution","comments":16,"created_at":"2023-12-04T05:57:47Z"},{"number":198,"title":"Undefined array key \"content\" (MS OpenAI Content Filtering issue)","comments":8,"created_at":"2023-08-28T08:13:41Z"},{"number":545,"title":"[Bug]: CreateStreamedResponse fails with custom models that return sources without choices","comments":7,"created_at":"2025-04-02T13:10:43Z"},{"number":719,"title":"Support for the new Prompts API (successor to deprecated Assistants API)","comments":6,"created_at":"2025-12-04T12:10:30Z"},{"number":717,"title":"[Bug]: Undefined array key \"choices\" in CreateStreamedResponse.php when using createStreamed()","comments":6,"created_at":"2025-11-25T09:43:41Z"},{"number":568,"title":"[Bug]: Warning: undefined array key 'id' using chat()","comments":4,"created_at":"2025-04-27T15:49:11Z"},{"number":727,"title":"[Bug]:  Undefined array key \"output\" in D:\\XXX\\vendor\\openai-php\\client\\src\\Responses\\Responses\\CreateResponse.php on line 116","comments":3,"created_at":"2026-01-06T11:44:07Z"},{"number":644,"title":"[suggest] Some third-party models Response do not have 'object' and 'model'","comments":3,"created_at":"2025-08-14T01:51:16Z"}],"discussions":[{"number":690,"title":"Gemini/Other Model's Support","comments":1,"category":"General","created_at":"2025-09-28T15:46:37Z"},{"number":675,"title":"fix(OpenA): add 'web_search' as valid tool choice for Response API(#665)","comments":1,"category":"General","created_at":"2025-09-04T12:20:31Z"},{"number":655,"title":"OpenAI Conversation State API","comments":2,"category":"Q&A","created_at":"2025-08-25T07:20:54Z"},{"number":647,"title":"Responses API, function calling example.","comments":3,"category":"General","created_at":"2025-08-16T01:18:38Z"},{"number":613,"title":"How to use the AudioTestResource when faking out a response during testing","comments":1,"category":"Q&A","created_at":"2025-06-22T06:22:50Z"},{"number":611,"title":"How to use web search tool?","comments":1,"category":"Q&A","created_at":"2025-06-20T19:46:52Z"},{"number":605,"title":"Fluent Builders 💡","comments":0,"category":"Ideas","created_at":"2025-06-16T19:25:18Z"},{"number":589,"title":"Is realtime API available in openai-php? (Conversational Experiences)","comments":2,"category":"General","created_at":"2025-05-28T23:26:45Z"}],"latest_release":{"name":"v0.22.0","tag":"v0.22.0","published_at":"2026-10-31T15:13:24Z","body":"## What's Changed\r\n* Fix missing chunking strategy in vector store file responses by @midhunmonachan in https://github.com/openai-php/client/pull/805\r\n* fix(OpenAI): trim streamed response data before decoding- #9 by @e4se in https://github.com/openai-php/client/pull/806\r\n* fix(OpenAI): handle undocumented text web search results- #10 by @e4se in https://github.com/openai-php/client/pull/807\r\n* feat(OpenAI): add Skills API by @heyzainali in https://github.com/openai-php/client/pull/808\r\n* feat(OpenAI): add shell tool and skill attachments support by @omitech in https://github.com/openai-php/client/pull/811\r\n* Feature: Decisions API. by @efpapado in https://github.com/openai-php/client/pull/812\r\n* fix(OpenAI): allow null names and boolean choice values in Decisions by @APX403 in https://github.com/openai-php/client/pull/815\r\n* build(deps): bump shivammathur/setup-php from 2.37.2 to 2.40.0 by @dependabot[bot] in https://github.com/openai-php/client/pull/814\r\n* fix(OpenAI): handle rate limit and server errors on Guzzle stream requests by @APX403 in https://github.com/openai-php/client/pull/816\r\n* feat(OpenAI): add Agents API by @heyzainali in https://github.com/openai-php/client/pull/817\r\n* feat(OpenAI): add Vaults API by @heyzainali in https://github.com/openai-php/client/pull/818\r\n* fix(OpenAI): allow null country in web search user location by @APX403 in https://github.com/openai-php/client/pull/821\r\n* feat(OpenAI): add Agent Environments API by @heyzainali in https://github.com/openai-php/client/pull/819\r\n* feat(OpenAI): add Agent Sessions API by @heyzainali in https://github.com/openai-php/client/pull/820\r\n* fix(OpenAI): keep keys of nested multipart parameters by @APX403 in https://github.com/openai-php/client/pull/822\r\n* fix(OpenAI): stop beta headers leaking into later requests by @heyzainali in https://github.com/openai-php/client/pull/823\r\n* fix(chat): read reasoning_content in streamed deltas by @pcbeingused333 in https://github.com/openai-php/client/pull/824\r\n* fix(OpenAI): support the computer tool and its batched actions by @APX403 in https://github.com/openai-php/client/pull/825\r\n* fix: harden ResourceUri against HttpClient traversal (GHSA-g2jm-j3rw-vqcm) by @iBotPeaches in https://github.com/openai-php/client/pull/813\r\n* Release: v0.22.0 by @iBotPeaches in https://github.com/openai-php/client/pull/826\r\n\r\n## New Contributors\r\n* @midhunmonachan made their first contribution in https://github.com/openai-php/client/pull/805\r\n* @heyzainali made their first contribution in https://github.com/openai-php/client/pull/808\r\n* @omitech made their first contribution in https://github.com/openai-php/client/pull/811\r\n* @efpapado made their first contribution in https://github.com/openai-php/client/pull/812\r\n* @APX403 made their first contribution in https://github.com/openai-php/client/pull/815\r\n* @pcbeingused333 made their first contribution in https://github.com/openai-php/client/pull/824\r\n\r\n**Full Changelog**: https://github.com/openai-php/client/compare/v0.21.0...v0.22.0","is_prerelease":false},"readme":true,"readme_zh":false,"news":[],"stale":false,"snapshot_at":"2026-11-16T09:23:14Z","history_start":"2026-09-06"}