Try Depot: Bring ultra-fast, remote Docker builds directly to your Laravel workflow

Laravel Introduces Official AI Documentation

Published on by

Laravel Introduces Official AI Documentation image

Laravel has published a new AI Assisted Development section in the Laravel 12.x documentation, providing first-party guidance on using AI tools effectively within Laravel applications.

In a recent thread, Taylor explained why Laravel's opinionated design makes it a strong fit for AI-assisted development. Laravel's conventions remove ambiguity across the entire stack. Controllers, jobs, mail, queues, caching, scheduling, and broadcasting all follow well-defined patterns, allowing AI agents to stop guessing and start producing clean, human-readable code.

He also emphasized that these opinions eliminate debates around structure and tooling, helping teams focus on building instead of configuration. At the same time, Laravel avoids vendor lock-in by remaining flexible. Developers can choose S3 or Cloudflare R2 for storage, use Laravel’s built-in authentication backed by standard databases, and pair the framework with React, Vue, Svelte, or Inertia on the frontend.

His core point is that AI agents thrive in environments with strong, consistent conventions. Because Laravel clearly defines where things belong and how they should work, AI-generated code stays organized, scalable, and aligned with real-world Laravel applications, even as projects grow in size or complexity.

The new documentation formalizes how developers can integrate AI agents into their workflow while preserving Laravel’s conventions and best practices. It also introduces Laravel Boost as the foundation for AI-aware development.

Laravel Boost and MCP Integration

Laravel Boost exposes a set of specialized tools that AI agents can use to understand and interact with an application, including:

  • Inspecting application configuration, versions, and installed packages
  • Exploring routes, database schemas, and migrations
  • Running read-only database queries
  • Searching Laravel and ecosystem documentation by version
  • Analyzing logs and available Artisan commands
  • Executing code safely via Tinker

This turns general-purpose AI assistants into context-aware Laravel helpers rather than generic code generators.

AI Guidelines and Documentation Search

The new docs introduce AI Guidelines, which define how AI tools should write Laravel code. These guidelines are composable and version-aware, with built-in support for popular ecosystem tools such as Livewire, Inertia, Pest, PHPUnit, Tailwind CSS, and more.

Boost also includes a documentation search API backed by a large, indexed dataset of Laravel ecosystem documentation, helping AI agents avoid outdated or incorrect suggestions.

IDE and Tooling Support

The documentation outlines how Boost integrates with MCP-compatible tools and IDEs, including Claude Code, Cursor, VS Code, PhpStorm, and Gemini, enabling real-time AI assistance directly inside the editor.

Also released in the past week is a Laravel Gets a Claude Code Simplifier Plugin that you should check out if you are using Claude.

Why It Matters

With these new docs, Laravel is making AI-assisted development a first-class concern. Rather than relying on ad-hoc prompts, Laravel now provides structured tooling and guidance that keeps AI output aligned with the framework's philosophy.

The new AI documentation is available now in the Laravel 12.x docs.

Eric L. Barnes photo

Eric is the creator of Laravel News and has been covering Laravel since 2012.

Filed in:
Cube

Laravel Newsletter

Join 40k+ other developers and never miss out on new tips, tutorials, and more.

image
SerpApi

The Web Search API for Your LLM and AI Applications

Visit SerpApi
Tinkerwell logo

Tinkerwell

The must-have code runner for Laravel developers. Tinker with AI, autocompletion and instant feedback on local and production environments.

Tinkerwell
Get expert guidance in a few days with a Laravel code review logo

Get expert guidance in a few days with a Laravel code review

Expert code review! Get clear, practical feedback from two Laravel devs with 10+ years of experience helping teams build better apps.

Get expert guidance in a few days with a Laravel code review
PhpStorm logo

PhpStorm

The go-to PHP IDE with extensive out-of-the-box support for Laravel and its ecosystem.

PhpStorm
Laravel Cloud logo

Laravel Cloud

Easily create and manage your servers and deploy your Laravel applications in seconds.

Laravel Cloud
Acquaint Softtech logo

Acquaint Softtech

Acquaint Softtech offers AI-ready Laravel developers who onboard in 48 hours at $3000/Month with no lengthy sales process and a 100 percent money-back guarantee.

Acquaint Softtech
Kirschbaum logo

Kirschbaum

Providing innovation and stability to ensure your web application succeeds.

Kirschbaum
Shift logo

Shift

Running an old Laravel version? Instant, automated Laravel upgrades and code modernization to keep your applications fresh.

Shift
Harpoon: Next generation time tracking and invoicing logo

Harpoon: Next generation time tracking and invoicing

The next generation time-tracking and billing software that helps your agency plan and forecast a profitable future.

Harpoon: Next generation time tracking and invoicing
Lucky Media logo

Lucky Media

Get Lucky Now - the ideal choice for Laravel Development, with over a decade of experience!

Lucky Media
SaaSykit: Laravel SaaS Starter Kit logo

SaaSykit: Laravel SaaS Starter Kit

SaaSykit is a Multi-tenant Laravel SaaS Starter Kit that comes with all features required to run a modern SaaS. Payments, Beautiful Checkout, Admin Panel, User dashboard, Auth, Ready Components, Stats, Blog, Docs and more.

SaaSykit: Laravel SaaS Starter Kit

The latest

View all →
Laravel Pint Now Replaces Fully Qualified Class Names with Imports image

Laravel Pint Now Replaces Fully Qualified Class Names with Imports

Read article
Inertia v3 Upgrade Prompt and JSON Log Support in Laravel Boost v2.3.0 image

Inertia v3 Upgrade Prompt and JSON Log Support in Laravel Boost v2.3.0

Read article
Laracon AU Returns to Brisbane - Call for Speakers Now Open image

Laracon AU Returns to Brisbane - Call for Speakers Now Open

Read article
LaraCopilot: Generate Laravel MVPs From a Single Prompt With AI image

LaraCopilot: Generate Laravel MVPs From a Single Prompt With AI

Read article
Model::withoutRelation() in Laravel 12.54.0 image

Model::withoutRelation() in Laravel 12.54.0

Read article
Tyro Checkpoint: Instant SQLite Snapshots for Laravel Local Development image

Tyro Checkpoint: Instant SQLite Snapshots for Laravel Local Development

Read article