openai-php/client
OpenAI PHP is a community-maintained PHP client for the OpenAI API, giving Laravel and PHP applications typed, framework-agnostic access to chat, responses, embeddings, images, audio, files, and streaming, backed by an active community and thousands of GitHub stars.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| openai-php/laravel | 0.89 | Community-maintained Laravel integration for the OpenAI API. Install via Composer, run php artisan openai:install to publish config, then use the OpenAI facade to call models, responses, and other endpoints. | 3,760 | 3,764 | 267 | 1M | 5 | 56.5 | 44.9 | MIT | 6 days ago | |
| iteks/laravel-openai | 0.89 | A Laravel wrapper for the OpenAI API that makes it easy to configure credentials and send fluent requests to GPT models. Add text generation, chat, and other AI capabilities to your Laravel apps with minimal setup, using a simple facade and config-driven integration. | 8 | — | 2 | — | 0 | 0.4 | — | MIT | 1 year ago | |
| openai-php/symfony | 0.88 | Symfony bundle for the OpenAI PHP client, making it easy to integrate GPT models, chat completions, embeddings, and other OpenAI API features into Symfony apps with simple configuration and dependency injection. | 221 | — | 29 | — | 0 | 8.7 | 0.4 | MIT | 8 months ago | |
| muradbdinfo/laravelai | 0.88 | Unified AI chat interface for Laravel with pluggable providers (Ollama, OpenAI/ChatGPT, Anthropic/Claude, DeepSeek). Includes quick setup, configuration, real-world examples, chat app integration, API reference, and built-in RAG support. | 1 | 1 | 0 | 1 | 0 | 0.0 | 2.4 | MIT | — | |
| php-http/socket-client | 0.88 | PSR-7/PSR-18 HTTP client built on PHP streams. Supports TCP and UNIX domain sockets, TLS/SSL encryption, and client certificates. Lightweight, dependency-minimal option for making HTTP requests via socket connections. | 81 | 82 | 42 | 115K | 0 | 9.9 | 44.9 | MIT | 9 months ago | |
| orhanerday/open-ai | 0.88 | A popular PHP SDK for OpenAI's API, orhanerday/open-ai offers simple methods for ChatGPT, GPT-4, DALL-E, Whisper, embeddings, and moderation. Framework-agnostic with Laravel support, streaming, and easy Composer installation. | 2,361 | — | 292 | — | 0 | 40.0 | — | MIT | 2 weeks ago |
|
| blinq/openai | 0.87 | A Laravel-friendly wrapper around the OpenAI API, making it easy to send chat completions, generate embeddings, and call other endpoints from your PHP applications. It includes configuration, facades, and a clean, expressive interface that fits naturally into Laravel projects. | 7 | 7 | 1 | 1K | 0 | 0.1 | 30.7 | — | 2 years ago | |
| halilcosdu/laravel-chatbot | 0.87 | Add AI-powered chatbots to any Laravel app with this package. It ships chat models, migrations, and a customizable UI, letting you create assistants backed by OpenAI and give users context-aware conversations grounded in your application's data. | 68 | — | 6 | — | 0 | 15.2 | — | MIT | 3 months ago | |
| macsidigital/laravel-api-client | 0.87 | A Laravel package that provides a clean, configurable API client for consuming external and internal HTTP APIs. It offers a fluent interface, centralized endpoint configuration, and streamlined request handling to simplify integrations in Laravel applications. | 20 | — | 27 | — | 0 | 5.2 | — | MIT | 9 months ago |
|
| symfony/ai-open-ai-platform | 0.87 | OpenAI platform integration for Symfony AI Platform, adding GPT chat completions, embeddings, DALL-E image generation, Whisper audio transcription, and text-to-speech support. | 5 | 4 | 0 | 70K | 0 | 23.1 | 64.9 | MIT | 1 week ago | |
| chatgpt/doc | 0.87 | Laravel package that adds a /chatgpt-doc route to serve helpful OpenAI and ChatGPT documentation. Install via Composer; optionally register the service provider if auto-discovery is disabled. No specific PHP or Laravel version dependency. | 0 | 0 | 0 | 0 | 0 | 0.0 | — | MIT | — | |
| guzzlehttp/guzzle-services | 0.87 | Build SDK-style API clients with service descriptions: map named operations and parameters to HTTP requests and transform responses into result data, instead of hand-writing request serializers for every endpoint. | 254 | 256 | 79 | 200K | 0 | 29.1 | 45.8 | MIT | 2 months ago | |
| jane/open-api | 0.87 | Deprecated package for generating API clients/models from OpenAPI specs with Jane. This repository is no longer maintained; use the consolidated JanePHP project instead: https://github.com/janephp/janephp | 185 | 198 | 25 | 157 | 0 | 2.0 | 2.6 | MIT | 9 years ago | |
| php-standard-library/io | 0.87 | Handle-based I/O abstractions for PHP from the Standard Library, offering composable, testable, and async-ready streams and readers/writers for building flexible input/output pipelines. | 1 | 1 | 0 | 107K | 0 | 21.5 | 64.9 | MIT | 1 week ago | |
| symfony/ai-open-responses-platform | 0.87 | Integrates Open Responses into Symfony AI Platform, letting you use the Open Responses specification and OpenAI Responses API contract through Symfony's unified AI components. Includes documentation links and standard Symfony contribution resources for reporting issues and submitting pull requests. | 3 | 3 | 0 | 210K | 0 | 22.5 | 64.7 | MIT | 1 week ago | |
| asanak/laravel-web-call-client | 0.86 | Laravel package for Asanak WebCall REST API: upload voice files, place voice or OTP calls, check call status, and get credit. Configure via .env, auto-registers service provider/facade, and optionally logs requests/responses to Laravel logs. | 0 | 0 | 0 | 0 | 0 | 0.0 | — | MIT | — | |
| grok-php/client | 0.86 | Lightweight, framework-agnostic PHP 8.2+ client for Grok AI APIs. Type-safe OOP design with enums, streaming support, and minimal dependencies. Includes chat and vision analysis examples, configurable options, and robust error handling. | 31 | 31 | 10 | 757 | 2 | 2.1 | 20.3 | MIT | 1 year ago | |
| symfony/ai-ai-ml-api-platform | 0.84 | Symfony AI bridge for AiML API Platform, providing access to AiML API’s OpenAI-compatible text/LLM models. Includes links to authentication quickstart and API docs, and points to the main Symfony AI repo for issues and contributions. | 1 | 1 | 0 | 184 | 0 | 22.8 | 31.9 | MIT | 1 week ago | |
| iboldurev/api-ai-php | 0.84 | A PHP client for the API.AI (Dialogflow) natural language service, letting you add intent detection, entity recognition, and conversational agents to PHP or Laravel apps through a simple, expressive API. | 162 | — | 59 | — | 8 | 5.1 | 3.4 | MIT | 9 years ago |
|
| creativecrafts/laravel-ai-assistant | 0.84 | A Laravel package for adding an AI-powered assistant to your application. It offers a simple, configurable way to integrate conversational AI features, manage prompts and responses, and connect your app to supported AI providers. | 14 | — | 4 | — | 0 | 0.6 | — | MIT | 1 year ago |
How can I help you explore Laravel packages today?