callgraph v1.1.0 minor

callgraph

by GergÅ‘ Makra ·

Terminal showing callgraph impact analysis: which Laravel controllers and routes call Article::published(), two levels deep.

Shows AI agents who calls what in PHP, TS, Vue, Rust, Swift, Python and Go without reading files

#rust #cli #linux #macos #windows #mit #ai-generated

Changelog

Full Changelog: v1.0.2...v1.1.0

Agents waste fewer tokens and get fewer wrong answers on web projects.

  • Fewer false positives: the Laravel events, middleware, validation and jobs views now list only real matches, so an agent stops chasing code that isn't there.
  • Functions passed as values count as calls: route handlers and PHP X::class references show up in "who calls this", so live code no longer looks unused.
  • Dynamic import() of Vue pages and packages is tracked, so lazily loaded pages don't look dead.
  • Monorepos and path aliases (@shared, ~/...) resolve to the same file from everywhere, so impact analysis covers the whole repo.
  • Laravel bindings: route groups, config-generated routes, event to listener, notifications and Eloquent scopes are linked, and the full route table is one command.
  • Rename a whole word family in one step (Post to Article): files, classes, relations, routes, Vue pages and database tables, with a migration.
  • PHP docblock types (@mixin, @var, @property) resolve, so calls on those objects are found.
  • Translations from TypeScript dictionaries, and Inertia warns when a page's required prop is never passed.
  • Shorter output for large projects and caller searches, with the same information.
  • The agent skill is half the size; per-language details load only when the project uses that language (Kotlin and Blade included).

Update: callgraph.sh update

Links

← Back to the feed