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(10mo ago)0392MITPHPPHP ^8.3

Since Dec 8Pushed 5mo 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 1mo ago

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

Maintenance63

Regular maintenance activity

Popularity7

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity59

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

Recently: every ~48 days

Total

8

Last Release

315d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/486969b15db4de8ccb6a7ec2db1b8d65956d08e06cba4c998ae40ec041958190?d=identicon)[vancodx](/maintainers/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

[larastan/larastan

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

6.4k43.5M5.2k](/packages/larastan-larastan)[brianium/paratest

Parallel testing for PHP

2.5k118.8M754](/packages/brianium-paratest)[orchestra/testbench

Laravel Testing Helper for Packages Development

2.2k39.1M32.1k](/packages/orchestra-testbench)[ekino/phpstan-banned-code

Detected banned code using PHPStan

2925.6M92](/packages/ekino-phpstan-banned-code)[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.

3462.2M52](/packages/shipmonk-dead-code-detector)[robiningelbrecht/phpunit-pretty-print

Prettify PHPUnit output

76460.0k15](/packages/robiningelbrecht-phpunit-pretty-print)

PHPackages © 2026

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