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.10.1(1mo ago)1.1k4.6M↑233.3%276[33 issues](https://github.com/laravel/ai/issues)[27 PRs](https://github.com/laravel/ai/pulls)20MITPHPPHP ^8.3CI passing

Since Feb 5Pushed 1mo ago19 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 2w ago

READMEChangelog (10)Dependencies (108)Versions (97)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

70

—

ExcellentBetter than 100% of packages

Maintenance91

Actively maintained with recent releases

Popularity72

Solid adoption and visibility

Community56

Growing community involvement

Maturity56

Maturing project, gaining track record

 Bus Factor2

2 contributors hold 50%+ of commits

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 ~4 days

Total

45

Last Release

23d 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 (211 commits)")[![pushpak1300](https://avatars.githubusercontent.com/u/31663512?v=4)](https://github.com/pushpak1300 "pushpak1300 (73 commits)")[![sumaiazaman](https://avatars.githubusercontent.com/u/45918347?v=4)](https://github.com/sumaiazaman "sumaiazaman (37 commits)")[![mosabbirrakib](https://avatars.githubusercontent.com/u/34891461?v=4)](https://github.com/mosabbirrakib "mosabbirrakib (24 commits)")[![Anoop-Kadachi](https://avatars.githubusercontent.com/u/62711504?v=4)](https://github.com/Anoop-Kadachi "Anoop-Kadachi (16 commits)")[![jackbayliss](https://avatars.githubusercontent.com/u/13621738?v=4)](https://github.com/jackbayliss "jackbayliss (12 commits)")[![Button99](https://avatars.githubusercontent.com/u/56029580?v=4)](https://github.com/Button99 "Button99 (9 commits)")[![dumbbellcode](https://avatars.githubusercontent.com/u/31629433?v=4)](https://github.com/dumbbellcode "dumbbellcode (8 commits)")[![maherelgamil](https://avatars.githubusercontent.com/u/6294478?v=4)](https://github.com/maherelgamil "maherelgamil (8 commits)")[![nunomaduro](https://avatars.githubusercontent.com/u/5457236?v=4)](https://github.com/nunomaduro "nunomaduro (7 commits)")[![dfinchenko](https://avatars.githubusercontent.com/u/5609952?v=4)](https://github.com/dfinchenko "dfinchenko (6 commits)")[![lucasmichot](https://avatars.githubusercontent.com/u/513603?v=4)](https://github.com/lucasmichot "lucasmichot (6 commits)")[![mubbi](https://avatars.githubusercontent.com/u/6255767?v=4)](https://github.com/mubbi "mubbi (6 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (4 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)")[![CodeWrap](https://avatars.githubusercontent.com/u/28383494?v=4)](https://github.com/CodeWrap "CodeWrap (4 commits)")[![sulimanbenhalim](https://avatars.githubusercontent.com/u/44615499?v=4)](https://github.com/sulimanbenhalim "sulimanbenhalim (4 commits)")[![DGarbs51](https://avatars.githubusercontent.com/u/58236685?v=4)](https://github.com/DGarbs51 "DGarbs51 (4 commits)")[![eznix86](https://avatars.githubusercontent.com/u/26553194?v=4)](https://github.com/eznix86 "eznix86 (3 commits)")

---

Tags

laravelai

###  Code Quality

TestsPest

Static AnalysisPHPStan, Rector

Code StyleLaravel Pint

Type Coverage Yes

### 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

[illuminate/queue

The Illuminate Queue package.

20433.0M1.8k](/packages/illuminate-queue)[laravel/mcp

Rapidly build MCP servers for your Laravel applications.

79227.1M234](/packages/laravel-mcp)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9922.4M146](/packages/roots-acorn)[psalm/plugin-laravel

Psalm plugin for Laravel

3345.4M354](/packages/psalm-plugin-laravel)[pressbooks/pressbooks

Pressbooks is an open source book publishing tool built on a WordPress multisite platform. Pressbooks outputs books in multiple formats, including PDF, EPUB, web, and a variety of XML flavours, using a theming/templating system, driven by CSS.

45844.8k1](/packages/pressbooks-pressbooks)[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.6k26.0M823](/packages/laravel-boost)

PHPackages © 2026

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