PHPackages                             legalthings/php-code-quality - 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. legalthings/php-code-quality

AbandonedLibrary

legalthings/php-code-quality
============================

Quality assurance toolchain

v0.1.2(10y ago)111.8k[1 issues](https://github.com/legalthings/php-code-quality/issues)3MIT

Since Jun 12Pushed 8y ago8 watchersCompare

[ Source](https://github.com/legalthings/php-code-quality)[ Packagist](https://packagist.org/packages/legalthings/php-code-quality)[ RSS](/packages/legalthings-php-code-quality/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (6)Versions (4)Used By (3)

PHP code quality
================

[](#php-code-quality)

Coding standard
---------------

[](#coding-standard)

Please read the [Legal Things PHP coding standard](https://github.com/legalthings/php-code-quality/blob/master/STANDARD.md#readme).

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

[](#installation)

All PHP projects of Legal Things should include this package. It can be installed through composer.

```
composer require --dev legalthings/php-code-quality

```

Toolchain
---------

[](#toolchain)

### Codeception

[](#codeception)

[Codeception](http://codeception.com/) is BDD-style PHP testing build on PHPUnit. It supports Unit testing, API testing and Acceptance testing.

```
bin/codecept

```

### vfsStream

[](#vfsstream)

[vfsStream](https://github.com/mikey179/vfsStream) is a stream wrapper for a virtual file system that may be helpful in unit tests to mock the real file system.

### PHP\_CodeSniffer

[](#php_codesniffer)

[phpcs](https://github.com/squizlabs/PHP_CodeSniffer) tokenises PHP files and detects violations of a defined set of coding standards. It is an essential development tool that ensures your code remains clean and consistent. This package comes with a custom ruleset which embodies the Legal Things PHP coding standard.

```
bin/phpcs . --standard=vendor/legalthings/php-code-quality --ignore=/bin/,/vendor/,/tests/

```

Versions
--------

[](#versions)

Always use [sementic versioning](http://semver.org/). With projects, the continues integration will automatically update patch version. When introducing a new feature or deprecating something you should update the minor version in `composer.json`.

**Do not introduce large changes or new features, while breaking backwards compatibility.** For a new major version, only cleanup tasks, specifically removing deprecated code, should be done. Manually update the major version in `composer.json`.

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community18

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 93.8% 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 ~45 days

Total

3

Last Release

3903d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3379a93d51305df325df9045e1a8b205d195e4e8c01312dff53a000ee79002eb?d=identicon)[jasny](/maintainers/jasny)

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

---

Top Contributors

[![jasny](https://avatars.githubusercontent.com/u/100821?v=4)](https://github.com/jasny "jasny (15 commits)")[![moesjarraf](https://avatars.githubusercontent.com/u/5793511?v=4)](https://github.com/moesjarraf "moesjarraf (1 commits)")

### Embed Badge

![Health badge](/badges/legalthings-php-code-quality/health.svg)

```
[![Health](https://phpackages.com/badges/legalthings-php-code-quality/health.svg)](https://phpackages.com/packages/legalthings-php-code-quality)
```

###  Alternatives

[magento/magento2-functional-testing-framework

Magento2 Functional Testing Framework

15511.5M30](/packages/magento-magento2-functional-testing-framework)[dereuromark/cakephp-ide-helper

CakePHP IdeHelper Plugin to improve auto-completion

1862.1M27](/packages/dereuromark-cakephp-ide-helper)[drupal/coder

Coder is a library to review Drupal code.

3043.6M461](/packages/drupal-coder)[flyeralarm/php-code-validator

A custom coding standard for FLYERALARM

2226.9k6](/packages/flyeralarm-php-code-validator)[me-io/appium-driver-codeception

appium driver for codeception framework

1910.4k](/packages/me-io-appium-driver-codeception)

PHPackages © 2026

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