PHPackages                             ralfmaxxx/phpmd\_variable\_lifetime - 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. ralfmaxxx/phpmd\_variable\_lifetime

ActiveLibrary[Testing &amp; Quality](/categories/testing)

ralfmaxxx/phpmd\_variable\_lifetime
===================================

Deliver PHPMD variable lifetime rule

0.1.0(9y ago)16921PHP

Since Jul 13Pushed 9y ago1 watchersCompare

[ Source](https://github.com/ralfmaxxx/phpmd_variable_lifetime)[ Packagist](https://packagist.org/packages/ralfmaxxx/phpmd_variable_lifetime)[ RSS](/packages/ralfmaxxx-phpmd-variable-lifetime/feed)WikiDiscussions develop Synced today

READMEChangelog (1)Dependencies (1)Versions (3)Used By (1)

### PHPMD Variable Lifetime Rule

[](#phpmd-variable-lifetime-rule)

How to use?
-----------

[](#how-to-use)

```
composer require "ralfmaxxx/phpmd_variable_lifetime"

```

And append this rule to `phpmd.xml` using definition file `rulesets/design.xml`:

```

```

You can additionally set allowed lines interval parameter:

```

```

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity54

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

Unknown

Total

1

Last Release

3638d ago

### Community

Maintainers

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

---

Top Contributors

[![rafalkanski](https://avatars.githubusercontent.com/u/7381290?v=4)](https://github.com/rafalkanski "rafalkanski (1 commits)")

### Embed Badge

![Health badge](/badges/ralfmaxxx-phpmd-variable-lifetime/health.svg)

```
[![Health](https://phpackages.com/badges/ralfmaxxx-phpmd-variable-lifetime/health.svg)](https://phpackages.com/packages/ralfmaxxx-phpmd-variable-lifetime)
```

###  Alternatives

[acquia/orca

A tool for testing a company's software packages together in the context of a realistic, functioning, best practices Drupal build

30914.4k](/packages/acquia-orca)[youwe/testing-suite

Contains Youwe's default testing packages for php.

13186.2k8](/packages/youwe-testing-suite)[axelerant/drupal-quality-checker

Code quality checking tools for Drupal project.

13200.9k1](/packages/axelerant-drupal-quality-checker)[blackboard-open-source/moodle-plugin-ci

Assists with running Moodle plugins in Travis CI

42142.1k](/packages/blackboard-open-source-moodle-plugin-ci)

PHPackages © 2026

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