- by x32x01 ||
Laravel Brain v2.6.0 is now available with several major improvements, including a new MCP Server, modular application support, more flexible configuration, better memory error handling, and a new VitePress documentation site.
If you haven't used Laravel Brain before, it scans your Laravel codebase and turns the request lifecycle into an interactive graph. You can explore routes, controllers, services, models, jobs, events, and other parts of the application to understand how a request flows through the codebase.
Claude Code, Cursor, and other MCP clients can now query your application's architecture directly from the scanned graph.
For example, you can ask questions such as:
Previously, the scanning process focused primarily on the standard
You can now configure paths for:
With v2.6.0, Laravel Brain provides a clearer error message when the scanning process runs out of memory. Instead of simply failing without useful information, you get a better explanation of the problem and guidance for fixing it.
The documentation is available here: https://laravel-brain.laramint.dev/
The release also includes various layout, sidebar, and stability improvements, along with the project's first contribution from a new contributor.
Then run the Laravel Brain scanner:
The scanner analyzes the Laravel codebase and generates the architecture graph that can then be explored and queried.
Instead of manually searching through routes, services, controllers, and dependencies, you can use the generated graph to understand how different parts of the application are connected. With MCP support, AI coding tools can also query that architecture directly.
For developers maintaining complex Laravel projects, this can make code exploration and architecture analysis much faster.
https://github.com/laramint/laravel-brain/releases/tag/v2.6.0
If you haven't used Laravel Brain before, it scans your Laravel codebase and turns the request lifecycle into an interactive graph. You can explore routes, controllers, services, models, jobs, events, and other parts of the application to understand how a request flows through the codebase.
What's New in Laravel Brain v2.6.0
MCP Server
The biggest addition in v2.6.0 is the new MCP Server.Claude Code, Cursor, and other MCP clients can now query your application's architecture directly from the scanned graph.
For example, you can ask questions such as:
- Which routes are public?
- What calls a specific service?
- Where does this request go?
- Which parts of the application are connected to a specific component?
Modular App Support
Laravel Brain can now resolve classes from installed packages andnwidart/laravel-modules out of the box.Previously, the scanning process focused primarily on the standard
app/ structure. The new support makes Laravel Brain more useful for applications organized into separate modules or packages.More Configurable Project Structure
Laravel Brain v2.6.0 also gives you more control over where different application components are located.You can now configure paths for:
- Views
- Filament panels
- Service providers
- Facades
- Broadcast channels
Smarter Memory Handling
Large Laravel codebases can require a significant amount of memory during scanning.With v2.6.0, Laravel Brain provides a clearer error message when the scanning process runs out of memory. Instead of simply failing without useful information, you get a better explanation of the problem and guidance for fixing it.
New Documentation Site
Laravel Brain now has a full VitePress documentation site with information about the project and its features.The documentation is available here: https://laravel-brain.laramint.dev/
The release also includes various layout, sidebar, and stability improvements, along with the project's first contribution from a new contributor.
How to Install Laravel Brain v2.6.0
If you want to try the new release, install Laravel Brain as a development dependency with Composer: Bash:
composer require --dev laramint/laravel-brain Bash:
php artisan brain:scan Why Laravel Brain v2.6.0 Matters
The combination of architecture scanning and MCP support makes Laravel Brain particularly interesting for developers working with large or unfamiliar Laravel applications.Instead of manually searching through routes, services, controllers, and dependencies, you can use the generated graph to understand how different parts of the application are connected. With MCP support, AI coding tools can also query that architecture directly.
For developers maintaining complex Laravel projects, this can make code exploration and architecture analysis much faster.
Release Notes
You can find the Laravel Brain v2.6.0 release notes on GitHub:https://github.com/laramint/laravel-brain/releases/tag/v2.6.0
