New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

laravel/ai

The official AI SDK for Laravel.
12,271,260 1,253
Install
composer require laravel/ai
Latest Version:v1.3.0
PHP:^8.3
Laravel:12 · 13
License:MIT
Last Updated:Oct 29, 2026
Links: GitHub  ·  Packagist
Maintainer: taylorotwell

Laravel AI SDK Package Logo

Total Downloads Latest Stable Version License

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.

Related Packages

devdojo/ai

This is a package that simplifies communicating with AI services using PrismPHP

2,400 6
laravel/boost

Laravel Boost accelerates AI-assisted development by providing the essential con...

47,513,194 3,673
backstage/laravel-ai

This is my package ai

1,592 0
neuron-core/neuron-laravel

Official Neuron AI Laravel SDK.

91,739 123
helgesverre/mistral

Laravel Client for the Mistral.ai API

33,705 57

Version History

Version Released PHP Laravel License
v1.3.0 ^8.3 ^12.0|^13.0 MIT
v1.2.3 ^8.3 ^12.0|^13.0 MIT
v1.2.2 ^8.3 ^12.0|^13.0 MIT
v1.2.1 ^8.3 ^12.0|^13.0 MIT
v1.2.0 ^8.3 ^12.0|^13.0 MIT