PHPackages                             phpdepend/callmap - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. phpdepend/callmap

ActivePhpstan-extension

phpdepend/callmap
=================

PHPStan Plugin to collect method-calls for further processing

0.2.0(1y ago)3492GPL-3.0-or-laterPHPPHP ^8.2

Since Oct 4Pushed 1y ago1 watchersCompare

[ Source](https://github.com/phpdepend/callmap)[ Packagist](https://packagist.org/packages/phpdepend/callmap)[ RSS](/packages/phpdepend-callmap/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)Dependencies (2)Versions (3)Used By (0)

CallMap
=======

[](#callmap)

Map method and function calls to the methods or functions in which they happen.

Purpose
-------

[](#purpose)

This allows to create a mapping file that can be used to generate an overview of which method is called where.

Whether that is to generate a graphical overview or to check which Namespace boundaries are crossed is a separate topic then.

The package itself is a plugin to pPHPStan.

Installation
------------

[](#installation)

Install via composer

```
composer require --dev phpdepend/callmap
```

Usage
-----

[](#usage)

Run via [PHPStan](https://phpstan.org)

```
./vendor/bin/phpstan analyse -c vendor/phpdepend/callmap/callmap.neon
```

This will create a JSON containing an array of objects that can be used to create a map of method-calls. There will be one entry per call. If one method is called multiple times from a method, there will be one entry per single call.

The Objects contain these attributes:

- callingClass
- callingMethod
- calledClass
- calledMethod

The file `callmap.json` is the callmap file for this plugin.

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance36

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity43

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 90.9% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~2 days

Total

2

Last Release

580d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/5ae5183aaad2bc7453230704bd6991dc6ccbcd6e775c6a29efdc94350a69f247?d=identicon)[heiglandreas](/maintainers/heiglandreas)

![](https://www.gravatar.com/avatar/86793722fa38096ae6ecef594df71fc85a6360fd63a3b1a6ef8c374d3d093f04?d=identicon)[sebastianfeldmann](/maintainers/sebastianfeldmann)

---

Top Contributors

[![heiglandreas](https://avatars.githubusercontent.com/u/91998?v=4)](https://github.com/heiglandreas "heiglandreas (10 commits)")[![staabm](https://avatars.githubusercontent.com/u/120441?v=4)](https://github.com/staabm "staabm (1 commits)")

---

Tags

pluginPHPStandevstatic analysisdependencyclassarchitecturemethodcallmap

### Embed Badge

![Health badge](/badges/phpdepend-callmap/health.svg)

```
[![Health](https://phpackages.com/badges/phpdepend-callmap/health.svg)](https://phpackages.com/packages/phpdepend-callmap)
```

###  Alternatives

[larastan/larastan

Larastan - Discover bugs in your code without running it. A phpstan/phpstan extension for Laravel

6.4k43.5M5.2k](/packages/larastan-larastan)[deptrac/deptrac

Deptrac is a static code analysis tool that helps to enforce rules for dependencies between software layers.

2.9k6.3M68](/packages/deptrac-deptrac)[phpstan/extension-installer

Composer plugin for automatic installation of PHPStan extensions

49998.1M8.3k](/packages/phpstan-extension-installer)[staabm/phpstan-dba

2912.3M2](/packages/staabm-phpstan-dba)[staabm/phpstan-todo-by

1991.8M54](/packages/staabm-phpstan-todo-by)[ekino/phpstan-banned-code

Detected banned code using PHPStan

2925.6M92](/packages/ekino-phpstan-banned-code)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
