awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
openai-php avatar

openai-php/client

0
View on GitHub↗
5,805 stars·680 forks·PHP·MIT·19 views

Client

This project is a PHP API client and SDK for integrating OpenAI services into PHP applications. It serves as an integration library and wrapper for interacting with large language models to generate text, images, and audio via REST API calls.

The library provides specialized orchestration for AI assistants, managing conversation threads and vector stores. It also includes tools for custom model fine-tuning, semantic search implementation through text embeddings, and audio processing for transcription and synthesis.

The capability surface covers content moderation, file management, and the handling of chat and text completions. It supports real-time data delivery via server-sent events streaming, asynchronous batch processing, and the verification of webhook signatures.

Features

  • OpenAI API Clients - Provides a PHP client to implement the OpenAI API specification for interacting with models.
  • AI SDKs - Provides a comprehensive PHP software development kit for integrating OpenAI services, including typed interfaces for model management and content generation.
  • AI Assistants - Builds and configures AI agents with specific instructions and tool access to handle complex tasks.
  • Assistant Management APIs - Coordinates assistant creation and manages threaded conversations along with tool output submissions.
  • Chat Completion Services - Generates conversational text or JSON responses from chat messages using image inputs and tool calls.
  • LLM Model Integrations - Integrates large language models into PHP applications for chat, embeddings, and completions.
  • Conversation Threads - Maintains persistent session state by creating threads and executing runs for AI conversations.
  • Text Completion Engines - Produces text or JSON completions from prompts, including support for external function calls.
  • Text Embedding Generators - Transforms input text into vector representations to power semantic search and similarity tasks.
  • Streaming Chat Responses - Delivers chat completions incrementally as they are generated to reduce perceived latency.
  • Speech-to-Text Translation - Translates spoken audio from various languages into written English text.
  • Speech-to-Text and Text-to-Speech Integrations - Integrates speech-to-text transcription and text-to-speech synthesis services.
  • Speech-to-Text Transcribers - Converts audio files into text with optional timestamps and granularities.
  • Text-to-Audio Synthesis - Converts written text into spoken audio files using synthesis models.
  • Image Generation And Editing - Implements capabilities for generating new visuals and editing existing images using generative AI.
  • Model Fine-Tuning - Allows training specific models on custom datasets by creating and tracking background fine-tuning jobs.
  • Vector Stores - Supports the organization and querying of high-dimensional embeddings in vector stores.
  • Semantic Search - Implements semantic search using vector similarity to find relevant information.
  • Response Streaming - Sends generated text, images, or audio incrementally to the client via server-sent events.
  • Server-Sent Events - Processes incremental data chunks from the API using server-sent events for real-time response streaming.
  • Content Moderation - Filters harmful or inappropriate text against safety policies to detect violations.
  • Batch Request Processing - Implements high-throughput submission and polling for large groups of asynchronous requests.
  • AI & Machine Learning - Client for interacting with the OpenAI API.
  • Development Packages - API client for AI services.
  • Programming Libraries - Supercharged PHP API client for OpenAI.

Star history

Star history chart for openai-php/clientStar history chart for openai-php/client

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Frequently asked questions

What does openai-php/client do?

This project is a PHP API client and SDK for integrating OpenAI services into PHP applications. It serves as an integration library and wrapper for interacting with large language models to generate text, images, and audio via REST API calls.

What are the main features of openai-php/client?

The main features of openai-php/client are: OpenAI API Clients, AI SDKs, AI Assistants, Assistant Management APIs, Chat Completion Services, LLM Model Integrations, Conversation Threads, Text Completion Engines.

What are some open-source alternatives to openai-php/client?

Open-source alternatives to openai-php/client include: openai/openai-go — openai-go is an LLM SDK for Go and a client for interacting with OpenAI services. It provides type-safe bindings to… macpaw/openai — This is an asynchronous Swift client library for calling OpenAI’s API across Apple platforms. It provides native… theokanning/openai-java — openai-java is a Java client library and software development kit designed to integrate OpenAI services into Java… sashabaranov/go-openai — This project is a Go library that provides a programmatic interface for interacting with generative AI services. It… aallam/openai-kotlin — This project is a multiplatform software development kit designed to integrate large language models into Kotlin… openai-php/laravel — This is an OpenAI API Laravel client and LLM integration library designed to connect PHP applications to large…

Open-source alternatives to Client

Similar open-source projects, ranked by how many features they share with Client.
  • openai/openai-goopenai avatar

    openai/openai-go

    2,974View on GitHub↗

    openai-go is an LLM SDK for Go and a client for interacting with OpenAI services. It provides type-safe bindings to generate text, images, and audio via REST endpoints, enabling the integration of large language models and AI assistant orchestration into Go applications. The library serves as an agent orchestration tool for managing stateful conversation threads and autonomous agents with integrated tool calling and file search. It also functions as an asynchronous batch processing client for monitoring large-scale request groups and fine-tuning jobs, alongside a management SDK for controllin

    Go
    View on GitHub↗2,974
  • macpaw/openaiMacPaw avatar

    MacPaw/OpenAI

    2,862View on GitHub↗

    This is an asynchronous Swift client library for calling OpenAI’s API across Apple platforms. It provides native access to chat completions, image generation and editing, speech synthesis and transcription, text embeddings, and content moderation through a single interface built on Swift’s async-await concurrency model. The client supports structured output generation by constraining model responses to a provided JSON schema, and enables real-time consumption of generated text through streaming responses delivered as an AsyncSequence. It includes a thread-based conversation model for managing

    Swiftaiopenaiopenai-api
    View on GitHub↗2,862
  • theokanning/openai-javaTheoKanning avatar

    TheoKanning/openai-java

    4,740View on GitHub↗

    openai-java is a Java client library and software development kit designed to integrate OpenAI services into Java applications. It functions as a programmatic wrapper for large language model endpoints, enabling the implementation of generative AI capabilities such as chat completions, text embeddings, and the orchestration of AI agents. The library supports a wide range of multimodal tasks, including the generation and editing of images, as well as audio transcription and translation. It provides specialized tools for model training and fine-tuning, allowing users to upload datasets to impro

    Java
    View on GitHub↗4,740
  • sashabaranov/go-openaisashabaranov avatar

    sashabaranov/go-openai

    10,694View on GitHub↗

    This project is a Go library that provides a programmatic interface for interacting with generative AI services. It serves as a comprehensive software development kit for integrating large language models into applications, enabling developers to perform tasks such as text and chat completion, image generation, and audio transcription. The library distinguishes itself through a unified infrastructure designed for robust network communication and service management. It features structured request mapping and error normalization to ensure type-safe interactions and simplified debugging. Further

    Gochatgptchatgpt-apidall-e
    View on GitHub↗10,694
See all 30 alternatives to Client→