PHPackages                             laravel/ai - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Framework](/categories/framework)
4. /
5. laravel/ai

ActiveLibrary[Framework](/categories/framework)

laravel/ai
==========

The official AI SDK for Laravel.

v0.4.1(1mo ago)732506.3k↑79.2%150[40 PRs](https://github.com/laravel/ai/pulls)20MITPHPPHP ^8.3CI passing

Since Feb 5Pushed 1mo ago12 watchersCompare

[ Source](https://github.com/laravel/ai)[ Packagist](https://packagist.org/packages/laravel/ai)[ Docs](https://github.com/laravel/ai)[ RSS](/packages/laravel-ai/feed)WikiDiscussions 0.x Synced 1mo ago

READMEChangelog (10)Dependencies (24)Versions (33)Used By (20)

[![Laravel AI SDK Package Logo](/art/logo.svg)](/art/logo.svg)

[![Total Downloads](https://camo.githubusercontent.com/c68b8d7cee241d26dd6b2ff59ca8bc220436afc9b9eb44a57063df8c353f0c5f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6c61726176656c2f6169)](https://packagist.org/packages/laravel/ai)[![Latest Stable Version](https://camo.githubusercontent.com/6c60b43b36df3122011db1edb3f6f245383d440bdc52f22324afc6cfa4a3899c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6c61726176656c2f6169)](https://packagist.org/packages/laravel/ai)[![License](https://camo.githubusercontent.com/e8869053a6423c9986eaa1bfffbc172bdfd413e514875837e4a13a78937c76c1/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6c61726176656c2f6169)](https://packagist.org/packages/laravel/ai)

Introduction
------------

[](#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)

Documentation for the Laravel AI SDK can be found on the [Laravel website](https://laravel.com/docs/ai-sdk).

Contributing
------------

[](#contributing)

Thank you for considering contributing to Laravel! The contribution guide can be found in the [Laravel documentation](https://laravel.com/docs/contributions).

Code of Conduct
---------------

[](#code-of-conduct)

In order to ensure that the Laravel community is welcoming to all, please review and abide by the [Code of Conduct](https://laravel.com/docs/contributions#code-of-conduct).

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](https://github.com/laravel/ai/security/policy) on how to report security vulnerabilities.

License
-------

[](#license)

The Laravel AI SDK is open-sourced software licensed under the [MIT license](LICENSE.md).

###  Health Score

63

—

FairBetter than 99% of packages

Maintenance88

Actively maintained with recent releases

Popularity64

Solid adoption and visibility

Community46

Growing community involvement

Maturity50

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 69.3% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~2 days

Total

21

Last Release

53d ago

PHP version history (2 changes)v0.1.0PHP ^8.4

v0.2.3PHP ^8.3

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/463230?v=4)[Taylor Otwell](/maintainers/taylorotwell)[@taylorotwell](https://github.com/taylorotwell)

---

Top Contributors

[![taylorotwell](https://avatars.githubusercontent.com/u/463230?v=4)](https://github.com/taylorotwell "taylorotwell (203 commits)")[![pushpak1300](https://avatars.githubusercontent.com/u/31663512?v=4)](https://github.com/pushpak1300 "pushpak1300 (12 commits)")[![jackbayliss](https://avatars.githubusercontent.com/u/13621738?v=4)](https://github.com/jackbayliss "jackbayliss (10 commits)")[![Button99](https://avatars.githubusercontent.com/u/56029580?v=4)](https://github.com/Button99 "Button99 (8 commits)")[![mubbi](https://avatars.githubusercontent.com/u/6255767?v=4)](https://github.com/mubbi "mubbi (6 commits)")[![lucasmichot](https://avatars.githubusercontent.com/u/513603?v=4)](https://github.com/lucasmichot "lucasmichot (6 commits)")[![josephkerkhof](https://avatars.githubusercontent.com/u/5824820?v=4)](https://github.com/josephkerkhof "josephkerkhof (4 commits)")[![delabon](https://avatars.githubusercontent.com/u/39647536?v=4)](https://github.com/delabon "delabon (4 commits)")[![DGarbs51](https://avatars.githubusercontent.com/u/58236685?v=4)](https://github.com/DGarbs51 "DGarbs51 (4 commits)")[![sulimanbenhalim](https://avatars.githubusercontent.com/u/44615499?v=4)](https://github.com/sulimanbenhalim "sulimanbenhalim (4 commits)")[![nunomaduro](https://avatars.githubusercontent.com/u/5457236?v=4)](https://github.com/nunomaduro "nunomaduro (4 commits)")[![eznix86](https://avatars.githubusercontent.com/u/26553194?v=4)](https://github.com/eznix86 "eznix86 (3 commits)")[![mt-shihab26](https://avatars.githubusercontent.com/u/67628903?v=4)](https://github.com/mt-shihab26 "mt-shihab26 (2 commits)")[![ihxnnxs](https://avatars.githubusercontent.com/u/62433092?v=4)](https://github.com/ihxnnxs "ihxnnxs (2 commits)")[![MaximeWillinger](https://avatars.githubusercontent.com/u/5830280?v=4)](https://github.com/MaximeWillinger "MaximeWillinger (2 commits)")[![monayemislam](https://avatars.githubusercontent.com/u/18171220?v=4)](https://github.com/monayemislam "monayemislam (2 commits)")[![bensherred](https://avatars.githubusercontent.com/u/22666637?v=4)](https://github.com/bensherred "bensherred (2 commits)")[![nhedger](https://avatars.githubusercontent.com/u/649677?v=4)](https://github.com/nhedger "nhedger (2 commits)")[![nickgerrer](https://avatars.githubusercontent.com/u/4253796?v=4)](https://github.com/nickgerrer "nickgerrer (1 commits)")[![nicodevs](https://avatars.githubusercontent.com/u/3766839?v=4)](https://github.com/nicodevs "nicodevs (1 commits)")

---

Tags

laravelai

###  Code Quality

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/laravel-ai/health.svg)

```
[![Health](https://phpackages.com/badges/laravel-ai/health.svg)](https://phpackages.com/packages/laravel-ai)
```

###  Alternatives

[laravel/boost

Laravel Boost accelerates AI-assisted development by providing the essential context and structure that AI needs to generate high-quality, Laravel-specific code.

3.5k10.6M274](/packages/laravel-boost)[laravel/passport

Laravel Passport provides OAuth2 server support to Laravel.

3.4k85.0M532](/packages/laravel-passport)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9682.1M97](/packages/roots-acorn)[laravel-zero/framework

The Laravel Zero Framework.

3371.4M369](/packages/laravel-zero-framework)[laravel/mcp

Rapidly build MCP servers for your Laravel applications.

74310.9M66](/packages/laravel-mcp)[laravel/reverb

Laravel Reverb provides a real-time WebSocket communication backend for Laravel applications.

1.6k9.4M48](/packages/laravel-reverb)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
