JavaScript Support in Maguyva: AI Search for Mixed Runtime Repos
Useful when a repo mixes CommonJS, ESM, task scripts, tests, and older application code.
Extensions
.cjs, .js, .mjs, .spec.js, +2 more
Free tier available. See plans →
Maguyva supports PHP with AST parsing and symbol extraction so AI agents can navigate Laravel apps, custom frameworks, WordPress-era code, and other long-lived PHP repositories with more structure than grep.
PHP is one of the clearest examples of why broad language support needs to be real, not aspirational. Many important systems are still PHP systems: Laravel apps, old monoliths, internal admin tools, and heavily customized web applications that survived every planned rewrite.
In those repos, the problem is not syntax. It is safely recovering structure from a codebase that has had years to accrete helpers, framework conventions, and local shortcuts.
Maguyva strips the $ sigil from definitions, normalizes member-prefixed calls, and filters a very large amount of PHP builtin-function noise out of the relationship graph. That is exactly the kind of cleanup older PHP code needs before search and dependency views become useful.
It also supports the file shapes PHP teams actually encounter, from .php and .phtml to older versioned extensions that still show up in long-lived estates.
The productive pattern is usually:
find_symbol for controllers, services, models, or helper classes with stable names.text_pattern_search for route names, helper calls, or old framework conventions when exact text is still the fastest path.get_task_context when the code path is messy and you want a stitched summary before editing.This page is for teams whose practical question is simply “we still run important PHP.” If the frontend lives in modern JavaScript, read JavaScript next. If the repo has newer service or automation layers around the edges, Python is the more relevant companion page.
Best fit
Agent workflows
Engine details
Useful MCP entry points
find_symbol
Use it for a controller, service, model, or helper class when the repo still has recognizable symbol names.
text_pattern_search
Use it for route names, helper calls, or old framework conventions when structure alone is not enough.
get_task_context
Useful when you need a stitched summary of an old PHP flow before changing it.
Related guides
Useful when a repo mixes CommonJS, ESM, task scripts, tests, and older application code.
Extensions
.cjs, .js, .mjs, .spec.js, +2 more
Useful when Python codebases sprawl across services, scripts, type stubs, and operational glue.
Extensions
.py, .pyi, .pyw