openai-php/laravel
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.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| openai-php/client | 0.90 | 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. | 5,836 | 5,841 | 680 | 2M | 13 | 74.8 | 48.5 | MIT | 6 days ago | |
| laravel/ai | 0.89 | Unified Laravel API for AI providers like OpenAI, Anthropic, and Gemini. Build intelligent agents with tools and structured output, generate images, synthesize and transcribe audio, and create vector embeddings, all through one consistent, expressive interface. | 1,263 | 1,265 | 373 | 4M | 28 | 60.0 | 68.4 | MIT | 2 weeks ago | |
| blinq/openai | 0.89 | 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 | |
| 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 | |
| backstage/laravel-ai | 0.88 | A Laravel package for adding AI capabilities to your app with a clean, expressive API. Configure providers, manage prompts, and build AI-powered features like chatbots and content generation using familiar Laravel conventions. | 0 | 0 | 0 | 37 | 0 | 8.0 | 23.3 | MIT | 7 months ago | |
| fomvasss/laravel-ai-tasks | 0.87 | A Laravel package for defining and running AI-powered tasks in your application, providing a clean, configurable workflow for organizing AI features and helping you integrate and reuse prompts, task logic, and results across your Laravel projects. | 41 | — | 4 | — | 0 | 0.3 | — | MIT | — |
|
| orhanerday/open-ai | 0.87 | 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 |
|
| iteks/laravel-openai | 0.87 | 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 | |
| symfony/ai | 0.87 | Symfony AI provides PHP components and Symfony integration for building AI-powered applications. It includes abstractions for AI platforms, agents, tool calling, embeddings, vector stores, and RAG workflows, plus bridges to popular providers and a bundle for quick setup. | 1,242 | — | 303 | — | 98 | 55.0 | 31.5 | MIT | 1 week ago | |
| parselynk/laravel-ai-attributes | 0.87 | Bring AI-ready metadata to your Laravel code with native PHP attributes. Annotate classes and methods to describe their intent and expose structured hints for AI agents, tools, and LLM integrations—declarative, discoverable, and colocated with your code. | 1 | 1 | 0 | 0 | 0 | 14.5 | — | MIT | 3 months ago | |
| muradbdinfo/laravelai | 0.87 | 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 | — | |
| tourze/open-ai-bundle | 0.87 | A Symfony bundle that wires OpenAI's API into your application through configurable services and dependency injection, giving you a ready-made client for chat, completions, and other OpenAI endpoints without writing boilerplate integration code. | 0 | — | 0 | — | 0 | 0.3 | — | MIT | 1 year ago | |
| creativecrafts/laravel-ai-assistant | 0.87 | 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 | |
| grok-php/client | 0.87 | 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 | |
| laravel/mcp | 0.87 | Laravel MCP lets you rapidly build Model Context Protocol servers for Laravel applications, enabling AI clients to interact with your app through a standardized protocol. This open-source, MIT-licensed package includes official documentation and is maintained by Laravel. | 864 | 866 | 132 | 10M | 4 | 42.9 | 68.5 | MIT | 1 week ago | |
| prism-php/prism | 0.87 | Prism is a Laravel package for integrating LLMs into your apps with a fluent interface for text generation, multi-step conversations, and tool use across multiple AI providers, so you can build AI features without wrestling with provider intricacies. | 2,429 | 2,429 | 312 | 940K | 40 | 66.6 | 72.1 | MIT | 3 weeks ago | |
| automation-laravel/automation-laravel | 0.87 | Automation Laravel is a package for adding workflow automation to Laravel applications. Define triggers, conditions, and actions, then run automated tasks through Laravel’s queues, events, and Eloquent models with a simple, expressive API. | 39 | 39 | 21 | 0 | 12 | 24.2 | 5.3 | MIT | 1 week ago | |
| papi-ai/laravel | 0.87 | Laravel integration for Papi AI that connects your application to AI services with minimal setup. Includes a service provider, configuration options, and a clean, expressive API for sending prompts and handling AI responses from anywhere in your Laravel app. | 1 | 1 | 0 | 1 | 0 | 19.2 | 2.8 | MIT | 4 weeks 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 | — | |
| m-tech-stack/laravel-ai-engine | 0.86 | Laravel AI Engine provides a clean, configurable layer for adding AI features to Laravel apps, with a unified API for providers, prompt and chat workflows, embeddings, and tool calling—keeping AI logic testable and maintainable. | 1 | 1 | 0 | 19K | 0 | 15.5 | 62.6 | MIT | 2 months ago |
How can I help you explore Laravel packages today?