Laravel Brain is a new open-source package for Laravel that scans your codebase and generates interactive visual diagrams of routes, controllers, methods, queries, and service calls. It helps developers quickly understand unfamiliar projects by showing method flow, complexity, and relationships between components. The package supports multiple graph layouts, PNG/Mermaid export, AI context export for coding agents, and has early support for Filament PHP. A hands-on demo walks through using it on two real projects, highlighting where it adds value for larger, more complex codebases.

6m watch time

Sort: