OpenAI PHP
⚡️ OpenAI PHP is a supercharged community-maintained PHP API client that allows you to interact with OpenAI API. observed · 2026-08-28
Health v2 · maintenance only
97/100
- Activity 98
- Release rhythm 93
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 29.5
- age_days: 1438
- days_rel: 44
- days_push: 15
- n_releases_24m: 17
Adoption not part of the score
5829 stars · 679 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
OpenAI PHP is a community-maintained PHP SDK for interacting with the OpenAI API, covering chat, responses, embeddings, audio, images, fine-tuning, vector stores, and more. It also ships a Laravel-specific package (openai-php/laravel) with framework integration.
Use cases
- call the openai api from php
- generate chat completions with gpt-4 in a laravel app
- create embeddings for semantic search in php
- transcribe audio with whisper from php
- generate images with dall-e via php
- fine-tune openai models programmatically
When to choose
- your backend is PHP or Laravel and you need typed access to the OpenAI API
- you want a community-maintained, MIT-licensed client covering the full OpenAI API surface
- you need Laravel service-container integration and facades
When to avoid
- you use another language or framework with an official SDK
- you need multi-provider LLM abstraction rather than OpenAI specifically
- you require vendor-official support guarantees
Facets
library · maturity active
http-client sdk llm-inference chatbot rag large-language-models artificial-intelligence apis web-development php cross-platform openai-api gpt api-client community-maintained embeddings fine-tuning laravel
1 source
- readme: https://github.com/openai-php/client · fetched 2026-08-28 · f9ef4db9b3d3
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| openai-php/client | main | 97 |
| openai-php/laravel | plugin | 88 |
For agents
markdown · JSON · MCP: product_card(name="openai-php/client")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem