laravel / ai
The official AI SDK for Laravel.
Installs: 2 093
Dependents: 5
Suggesters: 0
Security: 0
Stars: 288
Watchers: 2
Forks: 35
Open Issues: 13
pkg:composer/laravel/ai
Requires
- php: ^8.4
- illuminate/console: ^12.0
- illuminate/container: ^12.0
- illuminate/contracts: ^12.0
- illuminate/filesystem: ^12.0
- illuminate/json-schema: ^12.0
- illuminate/support: ^12.0
- laravel/prompts: ^0.3.6
- laravel/serializable-closure: ^2.0
- prism-php/prism: ^0.99.0
Requires (Dev)
- laravel/pint: ^1.26
- mockery/mockery: ^1.6.12
- orchestra/testbench: ^10.6
This package is auto-updated.
Last update: 2026-02-06 12:52:58 UTC
README
Introduction
The Laravel AI SDK provides a unified, expressive API for interacting with AI providers such as OpenAI, Anthropic, Gemini, and more. With the AI SDK, you can build intelligent agents with tools and structured output, generate images, synthesize and transcribe audio, create vector embeddings, and much more — all using a consistent, Laravel-friendly interface.
Documentation
Documentation for the Laravel AI SDK can be found on the Laravel website.
Contributing
Thank you for considering contributing to Laravel! The contribution guide can be found in the Laravel documentation.
Code of Conduct
In order to ensure that the Laravel community is welcoming to all, please review and abide by the Code of Conduct.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
License
The Laravel AI SDK is open-sourced software licensed under the MIT license.