PHPackages                             vancodx/php-testing - 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. vancodx/php-testing

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

vancodx/php-testing
===================

VanCodX PHP Testing

1.7.0(12mo ago)0432MITPHPPHP ^8.3

Since Dec 8Pushed 7mo ago1 watchersCompare

[ Source](https://github.com/vancodx/php-testing)[ Packagist](https://packagist.org/packages/vancodx/php-testing)[ RSS](/packages/vancodx-php-testing/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (7)Versions (10)Used By (2)

VanCodX PHP Testing
===================

[](#vancodx-php-testing)

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

[](#installation)

Install this package with the following command:

```
composer require --dev vancodx/php-testing

```

Create ".phpstan.neon.dist" file in the root directory of your project with the following contents:

```
includes:
  - vendor/vancodx/php-testing/phpstan-extension/extension.php

parameters:
  level: 10
  paths:
    - src
    - tests
```

Create "phpunit.xml.dist" file in the root directory of your project with the following contents:

```

      tests/Unit

      src

```

Add the following lines into "composer.json" file of your project:

```
{
  "scripts": {
    "test": [
      "phpstan analyze",
      "phpunit"
    ]
  }
}
```

Add the following lines into your ".gitignore" file:

```
.phpstan.neon
.phpunit.result.cache
phpunit.xml

```

Usage
-----

[](#usage)

Use the following command:

```
composer test

```

Running tests
-------------

[](#running-tests)

Use the following command for running the tests inside a Docker container:

```
docker compose up --build tests

```

###  Health Score

37

—

LowBetter than 81% of packages

Maintenance58

Moderate activity, may be stable

Popularity9

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity60

Established project with proven stability

 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 ~30 days

Recently: every ~48 days

Total

8

Last Release

361d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/191000018?v=4)[Ivan Chistyakov](/maintainers/vancodx)[@vancodx](https://github.com/vancodx)

---

Top Contributors

[![vancodx](https://avatars.githubusercontent.com/u/191000018?v=4)](https://github.com/vancodx "vancodx (39 commits)")

---

Tags

testingphpunitPHPStanstatic analysismockeryvancodx

### Embed Badge

![Health badge](/badges/vancodx-php-testing/health.svg)

```
[![Health](https://phpackages.com/badges/vancodx-php-testing/health.svg)](https://phpackages.com/packages/vancodx-php-testing)
```

###  Alternatives

[drupal/core-dev

require-dev dependencies from drupal/drupal; use in addition to drupal/core-recommended to run tests from drupal/core.

2022.6M342](/packages/drupal-core-dev)[larastan/larastan

Larastan - Discover bugs in your code without running it. A phpstan/phpstan extension for Laravel

6.5k55.4M8.4k](/packages/larastan-larastan)[brianium/paratest

Parallel testing for PHP

2.5k136.1M986](/packages/brianium-paratest)[orchestra/testbench

Laravel Testing Helper for Packages Development

2.2k42.5M40.8k](/packages/orchestra-testbench)[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.

4853.5M91](/packages/shipmonk-dead-code-detector)[wp-cli/wp-cli-tests

WP-CLI testing framework

423.1M142](/packages/wp-cli-wp-cli-tests)

PHPackages © 2026

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