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. [Testing &amp; Quality](/categories/testing)
4. /
5. phpdepend/callmap

ActivePhpstan-extension[Testing &amp; Quality](/categories/testing)

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

PHPStan Plugin to collect method-calls for further processing

0.2.0(1y ago)3602GPL-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 3w 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 52% of packages

Maintenance34

Infrequent updates — may be unmaintained

Popularity15

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

625d ago

### Community

Maintainers

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

![](https://avatars.githubusercontent.com/u/9250358?v=4)[Sebastian Feldmann](/maintainers/sebastianfeldmann)[@sebastianfeldmann](https://github.com/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.4k51.0M7.6k](/packages/larastan-larastan)[phpstan/phpstan-symfony

Symfony Framework extensions and rules for PHPStan

79173.3M2.0k](/packages/phpstan-phpstan-symfony)[shipmonk/dead-code-detector

Dead code detector to find unused PHP code via PHPStan extension. Can automatically remove dead PHP code. Supports libraries like Symfony, Doctrine, PHPUnit etc. Detects dead cycles. Can detect dead code that is tested.

4813.1M82](/packages/shipmonk-dead-code-detector)[phpstan/phpstan-doctrine

Doctrine extensions for PHPStan

67070.7M1.3k](/packages/phpstan-phpstan-doctrine)[staabm/phpstan-dba

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

2042.0M76](/packages/staabm-phpstan-todo-by)

PHPackages © 2026

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