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
Bacancy

Outsource a dedicated Laravel developer for $3,200/month. With over a decade of experience in Laravel development, we deliver fast, high-quality, and cost-effective solutions at affordable rates.

Visit Bacancy
Curotec logo

Curotec

World class Laravel experts with GenAI dev skills. LATAM-based, embedded engineers that ship fast, communicate clearly, and elevate your product. No bloat, no BS.

Curotec
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
Cut PHP Code Review Time & Bugs into Half with CodeRabbit logo

Cut PHP Code Review Time & Bugs into Half with CodeRabbit

CodeRabbit is an AI-powered code review tool that specializes in PHP and Laravel, running PHPStan and offering automated PR analysis, security checks, and custom review features while remaining free for open-source projects.

Cut PHP Code Review Time & Bugs into Half with CodeRabbit
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
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
Lunar: Laravel E-Commerce logo

Lunar: Laravel E-Commerce

E-Commerce for Laravel. An open-source package that brings the power of modern headless e-commerce functionality to Laravel.

Lunar: Laravel E-Commerce
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 →
What's new in Filament v4.5? image

What's new in Filament v4.5?

Read article
Manage Waitlists in Laravel with Laravel Waitlist image

Manage Waitlists in Laravel with Laravel Waitlist

Read article
Laravel Introduces Official AI Documentation image

Laravel Introduces Official AI Documentation

Read article
Laravel Gets a Claude Code Simplifier Plugin image

Laravel Gets a Claude Code Simplifier Plugin

Read article
Pest Adds withHost for Browser Testing Subdomains in Laravel image

Pest Adds withHost for Browser Testing Subdomains in Laravel

Read article
Run Artisan Make Commands in Laravel VS Code Extension image

Run Artisan Make Commands in Laravel VS Code Extension

Read article