PHPackages                             php-static-analysis/node-visitor - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. php-static-analysis/node-visitor

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

php-static-analysis/node-visitor
================================

PHP parser node visitor that converts Attributes into PHPDoc annotations

0.5.0(11mo ago)246.8k↓14.8%14MITPHPPHP &gt;=8.1CI passing

Since Feb 9Pushed 11mo agoCompare

[ Source](https://github.com/php-static-analysis/node-visitor)[ Packagist](https://packagist.org/packages/php-static-analysis/node-visitor)[ GitHub Sponsors](https://github.com/carlos-granados)[ RSS](/packages/php-static-analysis-node-visitor/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (10)Versions (26)Used By (4)

PHP Static Analysis Node Visitor
================================

[](#php-static-analysis-node-visitor)

[![Continuous Integration](https://github.com/php-static-analysis/node-visitor/workflows/All%20Tests/badge.svg)](https://github.com/php-static-analysis/node-visitor/actions)[![Latest Stable Version](https://camo.githubusercontent.com/5e53ac9347d6bda5aeddafbb7dd9536ab33391c45c6ebb200d1d6c5ebb279c31/68747470733a2f2f706f7365722e707567782e6f72672f7068702d7374617469632d616e616c797369732f6e6f64652d76697369746f722f762f737461626c65)](https://packagist.org/packages/php-static-analysis/node-visitor)[![License](https://camo.githubusercontent.com/6c7396fe1b6e8323cb1b906a3d2ffbb0d0dfa2d56be792f36a3fb1dac94986c9/68747470733a2f2f706f7365722e707567782e6f72672f7068702d7374617469632d616e616c797369732f6e6f64652d76697369746f722f6c6963656e7365)](https://github.com/php-static-analysis/node-visitor/blob/main/LICENSE)[![Total Downloads](https://camo.githubusercontent.com/e40e062dd47b4782b91052660c00f84b2811c5c5685057e2d6261dad7284f4b7/68747470733a2f2f706f7365722e707567782e6f72672f7068702d7374617469632d616e616c797369732f6e6f64652d76697369746f722f646f776e6c6f616473)](https://packagist.org/packages/php-static-analysis/node-visitor/stats)

PHP class that provides a PHP parser node visitor that converts Attributes into PHPDoc annotations

This class is used by the [PHPStan extension](https://github.com/php-static-analysis/phpstan-extension) and the [Psalm plugin](https://github.com/php-static-analysis/psalm-plugin) for the [PHP static analysis attributes](https://github.com/php-static-analysis/attributes)

Sponsor this project
--------------------

[](#sponsor-this-project)

If you would like to support the development of this project, please consider [sponsoring me](https://github.com/sponsors/carlos-granados)

###  Health Score

40

—

FairBetter than 88% of packages

Maintenance51

Moderate activity, may be stable

Popularity34

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~20 days

Recently: every ~89 days

Total

25

Last Release

348d ago

PHP version history (2 changes)0.1.0PHP &gt;=8.0

0.4.0PHP &gt;=8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/c2636f870530771eeacdaa267730b05040bf6f96fd7ebe0d51696be25b2d7bba?d=identicon)[barelon](/maintainers/barelon)

---

Top Contributors

[![carlos-granados](https://avatars.githubusercontent.com/u/1383106?v=4)](https://github.com/carlos-granados "carlos-granados (28 commits)")

---

Tags

devstatic analysis

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan, Psalm

Code StyleECS

Type Coverage Yes

### Embed Badge

![Health badge](/badges/php-static-analysis-node-visitor/health.svg)

```
[![Health](https://phpackages.com/badges/php-static-analysis-node-visitor/health.svg)](https://phpackages.com/packages/php-static-analysis-node-visitor)
```

###  Alternatives

[symfony/maker-bundle

Symfony Maker helps you create empty commands, controllers, form classes, tests and more so you can forget about writing boilerplate code.

3.4k111.1M568](/packages/symfony-maker-bundle)[barryvdh/laravel-ide-helper

Laravel IDE Helper, generates correct PHPDocs for all Facade classes, to improve auto-completion.

14.9k123.0M687](/packages/barryvdh-laravel-ide-helper)[phpstan/extension-installer

Composer plugin for automatic installation of PHPStan extensions

50398.1M8.3k](/packages/phpstan-extension-installer)[icanhazstring/composer-unused

Show unused packages by scanning your code

1.7k7.0M188](/packages/icanhazstring-composer-unused)[shipmonk/composer-dependency-analyser

Fast detection of composer dependency issues (dead dependencies, shadow dependencies, misplaced dependencies)

6156.7M435](/packages/shipmonk-composer-dependency-analyser)[psalm/plugin-laravel

Psalm plugin for Laravel

3274.9M308](/packages/psalm-plugin-laravel)

PHPackages © 2026

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