Laravel Brain is a Laravel package that scans your application and renders an interactive graph of the full request lifecycle. It maps routes, controllers, services, models, jobs, events, Artisan commands, and more as colored nodes with directional arrows. Key features include an AI context export (copying structured Markdown snapshots for LLM input), AI rules file generation for seven coding assistants (Claude Code, Cursor, Windsurf, etc.), route stress testing with live graph animation, and fat-class detection for complexity hotspots. The graph is served at `/_laravel-brain` with no separate deployment needed.
6 Comments
Sort: