openai-php/client

⚡️ OpenAI PHP is a supercharged community-maintained PHP API client that allows you to interact with OpenAI API.

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 40 minutes ago
Added to GitGenius on September 11th, 2026
Created on September 25th, 2022
Open Issues & Pull Requests: 27 (+0)
GitHub issues: Enabled
Number of forks: 680
Total Stargazers: 5,829 (+0)
Total Subscribers: 83 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 7.7 hours
Mean response time: 36.7 days
90th percentile: 104.7 days
Tracked items: 145

How this project is maintained

Around half of the issues opened in the past year never receive a reply. Only 10% of issues opened in the past year have been closed. Three people close 91% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 17
New in 7 days: 1
Closed in 7 days: 1
Avg open age: 393 days
Stale 30+ days: 15
Stale 90+ days: 14

Recent activity

Opened in 7 days: 1
Closed in 7 days: 1
Comments in 7 days: 0
Events in 7 days: 1

Top labels

  • bug (90)
  • Non-OpenAI Model (12)
  • enhancement (9)
  • question (1)

Detailed Description

OpenAI PHP is a community-maintained PHP API client that allows you to interact with the OpenAI API.

The tool solves the problem of integrating OpenAI's capabilities into PHP applications by providing a dedicated client library. Rather than making raw HTTP requests to OpenAI's endpoints, developers use the client's methods to access features like GPT models, embeddings, and other OpenAI services. The client handles authentication, request formatting, and response parsing, abstracting away the complexity of direct API interaction.

PHP developers building applications that need OpenAI integration should consider this tool as their primary option for the language. It suits projects ranging from simple chatbot implementations to complex AI-powered features embedded in larger PHP applications. The tool is particularly valuable for Laravel and other PHP framework users who want a native client rather than adapting clients from other languages.

The project maintains responsive engagement with its user base, with maintainers typically addressing new issues and pull requests within a day. Work in the issue tracker centers on bug fixes, support for non-OpenAI models, and feature enhancements, indicating active maintenance focused on reliability and expanding the client's capabilities beyond the core OpenAI API.