PHPackages                             evolver/diagnostics - 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. evolver/diagnostics

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

evolver/diagnostics
===================

Configurable diagnostic tests for PHP applications

v1.0.0(11y ago)23.7kBSD-3-ClausePHPPHP &gt;=5.4

Since Feb 27Pushed 11y ago2 watchersCompare

[ Source](https://github.com/EvolverGroup/Diagnostics)[ Packagist](https://packagist.org/packages/evolver/diagnostics)[ RSS](/packages/evolver-diagnostics/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (5)Versions (2)Used By (0)

Diagnostics
===========

[](#diagnostics)

Configurable diagnostic tests for PHP applications based on [ZendDiagnostics](https://github.com/zendframework/ZendDiagnostics)

[![Packagist](https://camo.githubusercontent.com/8eb6b14ee0be4e12580297f55ce1691cf9815fc47bc5f10995f8dc5cd1a6dd97/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f65766f6c7665722f646961676e6f73746963732e737667)](https://packagist.org/packages/evolver/diagnostics)[![Downloads](https://camo.githubusercontent.com/333f83ae3ebf3ef67b450db3140d1914e857f8e8d695fcffc68c8399e55f7686/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f65766f6c7665722f646961676e6f73746963732e737667)](https://packagist.org/packages/evolver/diagnostics)[![License](https://camo.githubusercontent.com/2a7728c80ea5b58c70504e51a61bd19fa5d4124f1333163e9dcded1bc1b73ca4/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f65766f6c7665722f646961676e6f73746963732e737667)](https://packagist.org/packages/evolver/diagnostics)[![Build](https://camo.githubusercontent.com/56e3880e2529d7b8a840eab35a22d8967d6717f8dfd65f732413e6b01e59c276/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f45766f6c76657247726f75702f446961676e6f73746963732e737667)](https://travis-ci.org/EvolverGroup/Diagnostics)

Requirements
------------

[](#requirements)

This application has the following requirements:

- PHP 5.4 or higher

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

[](#installation)

You can install this application in two different ways

### As a Phar release (recommended)

[](#as-a-phar-release-recommended)

Download the latest [release](https://github.com/EvolverGroup/Diagnostics/releases) to yor project root

### As a Composer dependency

[](#as-a-composer-dependency)

Install Composer in your project:

```
$ curl -s https://getcomposer.org/installer | php
```

Create a `composer.json` file in your project root:

```
{
    "require": {
        "evolver/diagnostics": "dev-master"
    }
}
```

Install this package via Composer:

```
$ php composer.phar install
```

Or add this package as a requirement to an existing project:

```
$ php composer.phar require evolver/diagnostics
```

Usage
-----

[](#usage)

Create a `diagnostics.yml` file in your project root:

```
checks:
  - name: "PhpVersion"
    arguments:
      expectedVersion: "5.4"
      operator: ">="
```

You may specify any other [diagnostic checks](https://github.com/zendframework/ZendDiagnostics#built-in-diagnostics-checks) according to the sample above

This application ships with some additional diagnostic checks:

- [PhpExtension](#phpextension) - make sure given extension is (not) loaded in a defined version

Run diagnostic checks:

1. with the Phar release: `$ php diagnostics.phar check`
2. with the Composer binary: `$ vendor/bin/diagnostics check`

Additional diagnostic checks
----------------------------

[](#additional-diagnostic-checks)

This package comes with some additional diagnostic checks

### PhpExtension

[](#phpextension)

Make sure that a given extension is loaded

```
checks:
  - name: "PhpExtension"
    arguments:
      extensionName: "mbstring"
```

Make sure that a given extension is loaded in a defined version

```
checks:
  - name: "PhpExtension"
    arguments:
      extensionName: "yaml"
      extensionVersion: "1.1.1"
```

Make sure that a given extension is absent

```
checks:
  - name: "PhpExtension"
    arguments:
      extensionName: "apc"
      extensionVersion: false
```

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

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

4098d ago

### Community

Maintainers

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

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/evolver-diagnostics/health.svg)

```
[![Health](https://phpackages.com/badges/evolver-diagnostics/health.svg)](https://phpackages.com/packages/evolver-diagnostics)
```

###  Alternatives

[behat/behat

Scenario-oriented BDD framework for PHP

4.0k96.8M2.0k](/packages/behat-behat)[phan/phan

A static analyzer for PHP

5.6k11.2M1.1k](/packages/phan-phan)[codeception/codeception

All-in-one PHP Testing Framework

4.9k86.2M2.9k](/packages/codeception-codeception)[phpro/grumphp

A composer plugin that enables source code quality checks.

4.3k15.5M904](/packages/phpro-grumphp)[acquia/orca

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

32902.4k](/packages/acquia-orca)

PHPackages © 2026

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