Every Laravel app has opinions. Naming conventions, custom casts, query scopes, validation patterns, how you structure form requests. All of it adds up to a codebase that works a certain way. Ask an AI to generate code for your app without that context and you get textbook Laravel that compiles but doesn't belong.
The generated controller uses $request->all() instead of your form request classes. The migration uses string where you always use an enum cast. The query builds raw joins instead of using your custom scopes. It's technically correct and practically useless.
Laravel Boost fixes this by giving AI agents direct access to your application through 15+ MCP (Model Context Protocol) tools. Instead of guessing what your app looks like, the AI can inspect it.
What Boost Exposes
Boost registers itself as an MCP server. When an AI agent connects, it gets tools organized into categories that cover most of what you'd need to understand a Laravel app.
App Info and Routes
The AI can list every registered route with its middleware, controller, method signature, and route model bindings. When you ask it to "add a new endpoint for archiving projects," it sees your existing ProjectController, your route naming conventions (projects.show, projects.update), and your middleware groups, then generates code that matches.
Database Schema and Queries
Boost exposes your full database schema: tables, columns, types, indexes, foreign keys. The AI doesn't have to guess your column names or infer relationships from model files alone. It sees that projects.team_id has a foreign key to teams.id and that you have a composite unique index on ['team_id', 'slug'].
It can also run read-only queries against your database to understand your actual data shape, not just the schema definition, but what's in there.
Tinker Access
This is where it gets powerful. The AI can execute PHP code through Tinker directly in your application context. Need to check how a service class behaves? Inspect a model's accessors and casts? Verify what a scope returns? The agent runs it and sees the result.
// The AI can execute this to understand your domain
App\Models\Project::active()->with('team')->first()->toArray()
Instead of reading your model file and guessing what scopeActive does, it runs it and sees the output.
Log and Error Reading
Boost gives access to your application logs. When debugging, the AI reads the actual stack trace from storage/logs/laravel.log instead of speculating about what might have gone wrong. It sees the exact exception, the file, the line number, the context.
Configuration Values
The AI can read your config values at runtime. It knows your queue connection is redis, your filesystem disk is s3, your cache driver is database. When generating code that touches these systems, it uses the right drivers and connections, not the framework defaults.
Artisan Commands
Boost exposes your registered Artisan commands, including custom ones. The AI sees your app:sync-invoices command's signature and can suggest modifications that fit your existing CLI patterns.
Browser Logs
For full-stack debugging, Boost can surface browser console logs. If an API response triggers a JavaScript error, the AI sees both sides of the problem without you copy-pasting anything.
Versioned Laravel Docs Search
Boost includes semantic search across Laravel's official documentation, matched to your installed Laravel version. The AI references docs for your version of the framework, not whatever version was in its training data. This eliminates the "that method was deprecated in Laravel 11" class of hallucinations.
Skills and Guidelines
Beyond raw data access, Boost detects your project conventions and surfaces them as guidelines. It scans your codebase for patterns:
- Do you use form request classes or inline validation?
- Are your policies registered explicitly or auto-discovered?
- Do you use resource controllers or single-action controllers?
- What's your test structure: Feature vs. Unit, Pest vs. PHPUnit?
These conventions get passed to the AI as context, so generated code follows your established patterns without you specifying them every time.
Before and After
Without Boost, "Create an endpoint to soft-delete a project":
// Generic Laravel, ignores your patterns
Route::delete('/projects/{id}', function ($id) {
$project = Project::findOrFail($id);
$project->delete();
return response()->json(['message' => 'Deleted']);
});
With Boost, same prompt:
// Matches your existing conventions
Route::delete('/projects/{project}', [ProjectController::class, 'destroy'])
->middleware(['auth', 'verified', 'can:delete,project'])
->name('projects.destroy');
// In ProjectController
public function destroy(Project $project): RedirectResponse
{
$project->delete();
return redirect()
->route('projects.index')
->with('success', __('projects.deleted'));
}
The second version uses route model binding because your other routes do. It applies your middleware stack. It returns a redirect with a flash message using your translation keys because that's how your other controllers work. The AI learned all of this by inspecting your app through Boost's tools.
The Documentation API
Boost includes a documentation layer powered by semantic search with embeddings. It indexes your project's documentation (README files, ADRs, inline doc blocks) and makes them searchable by meaning, not just keywords.
Ask the AI "how does billing work in this app" and it finds your docs/billing-flow.md even if that file never uses the word "billing" in its title. The embeddings capture semantic similarity, so conceptually related documentation surfaces even when the terminology doesn't match exactly.
This also works with Laravel's own documentation. The search is version-locked, so when you're on Laravel 11, you get Laravel 11 docs, not a mix of versions from the AI's training set.
When to Use It
Boost is most valuable when your codebase has established patterns that differ from Laravel's defaults. The more opinionated your app, the bigger the gap between generic AI output and code that fits. Boost closes that gap by letting the AI see your app the way a new team member would: by exploring it.
Install it, connect your AI agent, and the next time you ask for a migration, a controller, or a bug fix, the output will look like your code. Not Laravel's docs. Yours.
Thanks for reading, and see you in the next one.