Full Changelog: https://github.com/laramint/laravel-brain/compare/v2.3.0...v2.3.1
Full Changelog: https://github.com/laramint/laravel-brain/compare/v2.2.1...v2.3.0
Full Changelog: https://github.com/laramint/laravel-brain/compare/v2.1.0...v2.2.0
Thanks to: @BigBlockStudios. @RonBPalmer @Trukken
Full Changelog: https://github.com/laramint/laravel-brain/compare/v2.0.3...v2.1.0
Full Changelog: https://github.com/laramint/laravel-brain/compare/v2.0.2...v2.0.3
Full Changelog: https://github.com/laramint/laravel-brain/compare/v2.0.0...v2.0.1
Full first-class support for Filament PHP applications. The new FilamentAnalyzer discovers every panel registered via service providers and resolves its resources, pages, widgets, and relation managers — both explicitly listed and auto-discovered via discoverResources() / discoverPages() / discoverWidgets(). Filament page methods are traced through the same call-chain engine as controller actions, so every model and service they touch appears in the graph. Computed Filament URLs (e.g. /admin/posts) are resolved and shown as route nodes.
New node types added: Filament Panel, Filament Resource, Filament Page, Filament Page Method, Filament Widget, Filament Relation Manager — each with its own distinct accent color.
A dedicated FacadeAnalyzer now resolves Laravel facade usage throughout your call chains. Facades are surfaced as first-class nodes (cyan #00BCD4) in the graph so you can see exactly which facades a controller, service, or Filament page calls.
A new ContainerBindingAnalyzer scans app/Providers for all bind(), singleton(), scoped(), and $bindings registrations. This allows the graph to correctly resolve interface-to-concrete mappings and show the real implementation class when a constructor injects an interface.
Interfaces (sky blue #38bdf8) and abstract classes (slate #94a3b8) are now discovered and rendered as distinct node types. Concrete implementations are linked back to their interface contracts, making dependency inversion visible at a glance.
When a controller action or Form Request has rules() or inline validate() calls, the sidebar now shows a Validation Rules section listing every field and its associated rule set. Powered by the new ValidationRulesExtractor.
A new published config file config/laravel-brain.php lets you override the glob patterns used to discover route files, channel files, and Artisan command files. This is essential for non-standard project structures (e.g. module-based layouts, app/routes/, versioned API directories).
php artisan vendor:publish --tag=laravel-brain-config
Config keys: route_paths, channel_paths, commands.console_route_paths, commands.class_paths, commands.kernel_paths.
The entire graph rendering engine has been rewritten from Cytoscape.js to D3.js. This is the largest single change in this release and is the reason for the major version bump.
What changed:
zoom behavior, which is smoother and better integrated with the layout transforms.vendor-d3 chunk separate from the React chunk.Any node with more than 4 outgoing edges now shows a collapse toggle. Clicking it hides all descendants (recursive BFS) and shows a badge with the hidden count. Expanding restores the full subgraph. This makes large graphs with hundreds of nodes navigable without switching tabs.
All sidebars, toolbars, panels, and modal overlays now use a glass effect — backdrop-filter: blur(28px) with subtle border highlights — applied consistently across both dark and light themes via CSS custom properties (--glass-blur, --glass-border, --glass-border-strong).
The right sidebar received a full visual redesign: tighter section spacing, improved typography hierarchy, color-coded section headers, and the new Validation Rules section described above.
The left sidebar now has a drag handle on its right edge. You can resize it between 160 px and 480 px (default 240 px) by dragging. The resize is smooth with col-resize cursor feedback and userSelect lock during drag.
PhpStructureInspector — new utility that extracts structural metadata (interfaces implemented, parent class, abstract/final flags) from any PHP class file without full AST traversal.PhpExtendsFqcnResolver — new parser helper that resolves extends FQCNs from use-map context, used by the container binding and facade analyzers.GraphBuilder — major expansion (+1 500 lines) wiring all new node types into the graph output and handling the container binding resolution pass.ControllerAnalyzer — expanded to resolve abstract controller inheritance and detect Form Request classes from method signatures.ConsoleAnalyzer — refactored to support the new configurable class_paths and kernel_paths glob patterns.ChannelAnalyzer — updated to support configurable channel_paths.How can I help you explore Laravel packages today?