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 today

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 57% of packages

Maintenance38

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity42

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

531d 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.3k40.2M3.9k](/packages/larastan-larastan)[deptrac/deptrac

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

2.9k5.3M51](/packages/deptrac-deptrac)[phpstan/extension-installer

Composer plugin for automatic installation of PHPStan extensions

49594.7M6.9k](/packages/phpstan-extension-installer)[staabm/phpstan-dba

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

1981.6M37](/packages/staabm-phpstan-todo-by)[szepeviktor/phpstan-wordpress

WordPress extensions for PHPStan

3247.2M650](/packages/szepeviktor-phpstan-wordpress)

PHPackages © 2026

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