laravel / boost
Laravel Boost accelerates AI-assisted development to generate high-quality, Laravel-specific code.
Installs: 7 041
Dependents: 4
Suggesters: 0
Security: 0
Stars: 846
Watchers: 5
Forks: 40
Open Issues: 22
Requires
- php: ^8.1|^8.2
- guzzlehttp/guzzle: ^7.9
- illuminate/console: ^10.0|^11.0|^12.0
- illuminate/contracts: ^10.0|^11.0|^12.0
- illuminate/routing: ^10.0|^11.0|^12.0
- illuminate/support: ^10.0|^11.0|^12.0
- laravel/mcp: ^0.1.0
- laravel/prompts: ^0.1.9|^0.3
- laravel/roster: ^0.2
Requires (Dev)
- laravel/pint: ^1.14|^1.23
- mockery/mockery: ^1.6
- orchestra/testbench: ^8.22.0|^9.0|^10.0
- pestphp/pest: ^2.0|^3.0
- phpstan/phpstan: ^2.0
- dev-main
- v1.0.9
- v1.0.8
- v1.0.7
- v1.0.6
- v1.0.5
- v1.0.4
- v1.0.3
- v1.0.2
- v1.0.1
- v1.0.0
- dev-update/filament_guidelines
- dev-fix-foundation-rules
- dev-move-claude-mcp-install-to-file
- dev-fix-str-repeat-issue
- dev-fix-browser-logs
- dev-fix-not-booting-in-some-environments
- dev-support-false-content
- dev-fix-boost-inject-with-livewire
- dev-boost-readme
- dev-fix-yaml-class-not-found
- dev-ai-68-how-can-we-work-around-requiring-absolute-paths-needed-for
- dev-ai-73-improve-livewire-guidelines
- dev-ai-53-cleaner-agentide-management-in-installcommand-pair
- dev-guidelines/tailwind
- dev-art-doco
- dev-fix/failing_test_for_search_docs
- dev-explicit-interpolation
- dev-cleanup_display_helper
- dev-guidelines-galore
- dev-celanup_command_2
- dev-remove_execute_tool_command
- dev-typo-fix
- dev-cleanup_code_2
- dev-chore/improve_dependecies
- dev-fix/phpstan
- dev-feat/improve_pint_config
- dev-view-fix
- dev-filament-guidelines
- dev-PeteBishwhip-patch-1
This package is auto-updated.
Last update: 2025-08-14 07:29:23 UTC
README
Introduction
Laravel Boost accelerates AI-assisted development by providing the essential context and structure that AI needs to generate high-quality, Laravel-specific code.
At its foundation, Laravel Boost is an MCP server equipped with over 15 specialized tools designed to streamline AI-assisted coding workflows. The package includes composable AI guidelines specifically crafted for Laravel ecosystem packages, ensuring consistent and framework-appropriate code generation.
Boost also features a powerful Documentation API that combines a built-in MCP tool with an extensive knowledge base containing over 17,000 pieces of Laravel-specific information, all enhanced by semantic search capabilities using embeddings for precise, context-aware results.
Important
Laravel Boost is currently in beta and receives frequent updates as we refine features and expand capabilities.
Installation
Laravel Boost can be installed via Composer:
composer require laravel/boost --dev
Next, install the MCP server and coding guidelines:
php artisan boost:install
Once Laravel Boost has been installed, you're ready to start coding with Cursor, Claude Code, or your AI agent of choice.
Available MCP Tools
Name | Notes |
---|---|
Application Info | Read PHP & Laravel versions, database engine, list of ecosystem packages with versions, and Eloquent models |
Browser Logs | Read logs and errors from the browser |
Database Connections | Inspect available database connections, including the default connection |
Database Query | Execute a query against the database |
Database Schema | Read the database schema |
Get Absolute URL | Convert relative path URIs to absolute so agents generate valid URLs |
Get Config | Get a value from the configuration files using "dot" notation |
Last Error | Read the last error from the application's log files |
List Artisan Commands | Inspect the available Artisan commands |
List Available Config Keys | Inspect the available configuration keys |
List Available Env Vars | Inspect the available environment variable keys |
List Routes | Inspect the application's routes |
Read Log Entries | Read the last N log entries |
Report Feedback | Share Boost & Laravel AI feedback with the team, just say "give Boost feedback: x, y, and z" |
Search Docs | Query the Laravel hosted documentation API service to retrieve documentation based on installed packages |
Tinker | Execute arbitrary code within the context of the application |
Available AI Guidelines
Laravel Boost includes AI guidelines for the following packages and frameworks. The core
guidelines provide generic, generalized advice to the AI for the given package that is applicable across all versions.
Package | Versions Supported |
---|---|
Core & Boost | core |
Laravel Framework | core, 10.x, 11.x, 12.x |
Livewire | core, 2.x, 3.x |
Filament | core, 4.x |
Flux UI | core, free, pro |
Herd | core |
Inertia Laravel | core, 1.x, 2.x |
Inertia React | core, 1.x, 2.x |
Inertia Vue | core, 1.x, 2.x |
Pest | core, 4.x |
PHPUnit | core |
Pint | core |
TailwindCSS | core, 3.x, 4.x |
Livewire Volt | core |
Laravel Folio | core |
Enforce Tests | conditional |
Available Documentation
Package | Versions Supported |
---|---|
Laravel Framework | 10.x, 11.x, 12.x |
Filament | 2.x, 3.x, 4.x |
Flux UI | 2.x Free, 2.x Pro |
Inertia | 1.x, 2.x |
Livewire | 1.x, 2.x, 3.x |
Pest | 3.x, 4.x |
Tailwind CSS | 3.x, 4.x |
Adding Custom AI Guidelines
To augment Laravel Boost with your own custom AI guidelines, add .blade.php
files to your application's .ai/guidelines/*
directory. These files will automatically be included with Laravel Boost's guidelines when you run boost:install
.
Manually Registering the Boost MCP Server
Sometimes you may need to manually register the Laravel Boost MCP server with your editor of choice. You should register the MCP server using the following details:
Command | php |
Args | ./artisan boost:mcp |
JSON Example:
{ "mcpServers": { "laravel-boost": { "command": "php", "args": ["./artisan", "boost:mcp"] } } }
Contributing
Thank you for considering contributing to Boost! The contribution guide can be found in the Laravel documentation.
Code of Conduct
In order to ensure that the Laravel community is welcoming to all, please review and abide by the Code of Conduct.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
License
Laravel Boost is open-sourced software licensed under the MIT license.