PHPackages                             halleck45/ast-metrics - 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. halleck45/ast-metrics

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

halleck45/ast-metrics
=====================

AST Metrics bridge for PHP

v0.0.1(1y ago)2337—0%[1 issues](https://github.com/Halleck45/ast-metrics-bridge-php/issues)MITPHPPHP &gt;=7.0

Since Nov 18Pushed 1y ago1 watchersCompare

[ Source](https://github.com/Halleck45/ast-metrics-bridge-php)[ Packagist](https://packagist.org/packages/halleck45/ast-metrics)[ RSS](/packages/halleck45-ast-metrics/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)DependenciesVersions (3)Used By (0)

AST Metrics - bridge for PHP
============================

[](#ast-metrics---bridge-for-php)

This package allows to easily use [AST Metrics](https://github.com/Halleck45/ast-metrics/) in PHP projects.

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

[](#installation)

```
composer require halleck45/ast-metrics
```

Usage
-----

[](#usage)

```
php vendor/bin/ast-metrics analyze --ci src
```

Note

Please note this limitation: when used via this project, only the non-interactive mode is available.

Updating the AST Metrics binary
-------------------------------

[](#updating-the-ast-metrics-binary)

```
php vendor/bin/ast-metrics self-update
```

License
-------

[](#license)

MIT. See [LICENSE](LICENSE) for more details.

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance28

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity25

Early-stage or recently created project

 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

Unknown

Total

1

Last Release

539d ago

### Community

Maintainers

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

---

Top Contributors

[![Halleck45](https://avatars.githubusercontent.com/u/1076296?v=4)](https://github.com/Halleck45 "Halleck45 (5 commits)")

### Embed Badge

![Health badge](/badges/halleck45-ast-metrics/health.svg)

```
[![Health](https://phpackages.com/badges/halleck45-ast-metrics/health.svg)](https://phpackages.com/packages/halleck45-ast-metrics)
```

PHPackages © 2026

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