laravel/ai
The Laravel AI SDK provides a unified, expressive API for interacting with AI providers such as OpenAI, Anthropic, Gemini, and more. observed · 2026-09-03
Health v2 · maintenance only
84/100
- Activity 100
- Release rhythm 100
- Longevity 18
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 3.5
- age_days: 259
- days_rel: 0
- days_push: 0
- n_releases_24m: 47
Adoption not part of the score
1139 stars · 330 forks observed · 2026-09-03
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
The Laravel AI SDK is a PHP package offering a unified, expressive API for interacting with AI providers such as OpenAI, Anthropic, and Gemini. It supports building agents with tools and structured output, image generation, audio synthesis and transcription, and vector embeddings.
Use cases
- call openai or anthropic from a laravel app
- build ai agents with tool calling in php
- generate structured output from llms
- generate images with a unified api
- transcribe audio to text in laravel
- create vector embeddings for semantic search
- swap ai providers without rewriting code
When to choose
- you are building a Laravel or PHP application that needs AI features
- you want a single consistent API across multiple AI providers
- you need agents, structured output, embeddings, or audio features in PHP
When to avoid
- your project is not PHP/Laravel based
- you need direct access to provider-specific APIs not covered by the SDK
- you need a language-agnostic or client-side AI integration
Facets
library · maturity active
llm-inference agent-framework rag sdk speech-recognition tts image-processing large-language-models artificial-intelligence web-development backend php laravel ai-sdk openai anthropic gemini embeddings structured-output ai-agents web-server
1 source
- readme: https://github.com/laravel/ai · fetched 2026-09-03 · f1930718dfe0
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| laravel/ai | main | 84 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem