Code review at scale is broken. Here’s how Augment Code is fixing it.

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
Jump24 - UK Laravel Agency

Laravel Developers that Click into Place. Never outsourced. Never offshored. Always exceptional.

Visit Jump24 - UK Laravel Agency
Bacancy logo

Bacancy

Supercharge your project with a seasoned Laravel developer with 4-6 years of experience for just $3200/month. Get 160 hours of dedicated expertise & a risk-free 15-day trial. Schedule a call now!

Bacancy
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
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 →
"The Vibes" — NativePHP Hosts a Day 3 after Laracon US image

"The Vibes" — NativePHP Hosts a Day 3 after Laracon US

Read article
What We Know About Laravel 13 image

What We Know About Laravel 13

Read article
New Colors Added in Tailwind CSS v4.2 image

New Colors Added in Tailwind CSS v4.2

Read article
Factory makeMany() Method in Laravel 12.52.0 image

Factory makeMany() Method in Laravel 12.52.0

Read article
Laravel Adds an Official Svelte + Inertia Starter Kit image

Laravel Adds an Official Svelte + Inertia Starter Kit

Read article
MongoDB Vector Search in Laravel: Finding the Unqueryable image

MongoDB Vector Search in Laravel: Finding the Unqueryable

Read article