Menu

I built a code graph for Laravel that your AI agent can query over MCP before it edits anything

#php#redditr#mapin#graph#boost
Reading 0:00
15s threshold

I asked the code graph tool we were using who called a service injected into one of our controllers. It said nobody, which was wrong, and Mapin came out of that answer.

The tool was language-agnostic, which is a reasonable design until you point it at Laravel. Most of the wiring in a real app isn't a call between classes: it's a route pointing at a method, a `view('pos.index')`, a `hasMany`, a container binding, an event in `$listen`. On a ~900-file app, a generic tree-sitter extractor captured static calls and nothing else, with zero edges for dependency injection, routes, views, Blade includes or Eloquent relations.

Mapin treats those as first-class.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.