PHPackages                             mtv/mstyle - 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. mtv/mstyle

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

mtv/mstyle
==========

PHP quality assurance for ModernTV projects.

v0.4(5mo ago)103MITMakefilePHP &gt;=8.4

Since Nov 2Pushed 5mo ago5 watchersCompare

[ Source](https://github.com/moderntv/mcode)[ Packagist](https://packagist.org/packages/mtv/mstyle)[ Docs](https://github.com/moderntv/mstyle)[ RSS](/packages/mtv-mstyle/feed)WikiDiscussions master Synced today

READMEChangelog (4)Dependencies (9)Versions (7)Used By (0)

mCODE
=====

[](#mcode)

 📺 PHP quality assurance for ModernTV projects.

 [![](https://camo.githubusercontent.com/fed919c822cfb0c0441433ecd0683f421739e3564db7ef40f6a7d1acc6ac384c/68747470733a2f2f62616467656e2e6e65742f6769746875622f636865636b732f6d6f6465726e74762f6d636f64652f6d61737465723f63616368653d333030)](https://github.com/moderntv/mcode/actions) [![](https://camo.githubusercontent.com/541d8be38834578653d976bd133ac10e1377617ec48e889d7e35e7bf224b123e/68747470733a2f2f62616467656e2e6e65742f636f766572616c6c732f632f6769746875622f6d6f6465726e74762f6d636f64653f63616368653d333030)](https://coveralls.io/r/moderntv/mcode) [![](https://camo.githubusercontent.com/072fe17b2d0890e3ea1226b1818c71df13f907f519a631f2a2a088532b1ce288/68747470733a2f2f62616467656e2e6e65742f7061636b61676973742f646d2f6d636f64652f6d636f6465)](https://packagist.org/packages/mcode/mcode) [![](https://camo.githubusercontent.com/c0e8910b48243446a726c7244ba1bb18956f17aa881ea9ad2573acdeeeb73b5c/68747470733a2f2f62616467656e2e6e65742f7061636b61676973742f762f6d636f64652f6d636f6465)](https://packagist.org/packages/mcode/mcode) [![](https://camo.githubusercontent.com/dc76f39fe49dbd6f1d127d83dd84b212c11d775dcaf9fd86623be501f11ad4bd/68747470733a2f2f62616467656e2e6e65742f7061636b61676973742f7068702f6d636f64652f6d636f6465)](https://packagist.org/packages/mcode/mcode) [![](https://camo.githubusercontent.com/b5b7167949cb63db1946dc69bad10f9cd4379e20f7e7effa8a6362218f76844b/68747470733a2f2f62616467656e2e6e65742f6769746875622f6c6963656e73652f6d6f6465726e74762f6d636f6465)](https://github.com/moderntv/mcode)

🕹 [f3l1x.io](https://f3l1x.io) | 💻 [f3l1x](https://github.com/f3l1x) | 🐦 [@xf3l1x](https://twitter.com/xf3l1x)

---

Usage
-----

[](#usage)

To install latest version of `mcode/mcode` use [Composer](https://getcomposer.com).

```
composer require mcode/mcode
```

Documentation
-------------

[](#documentation)

### Codesniffer

[](#codesniffer)

1. Install this package.
2. Create `ruleset.xml` file.

```

```

3. Run codesniffer.

```
vendor/bin/phpcs --cache=var/codesniffer.dat --standard=ruleset.xml app
```

### Phpstan

[](#phpstan)

1. Install this package.
2. Create `phpstan.neon` file.

    ```
    includes:
    	- vendor/mcode/mcode/src/phpstan.neon
    	- phpstan-baseline.neon

    parameters:
    	level: 9
    	phpVersion: 80200

    	tmpDir: %currentWorkingDirectory%/temp/phpstan

    	fileExtensions:
    		- php
    		- phpt

    	paths:
    		- app
    ```

Development
-----------

[](#development)

This package is currently maintained by these authors.

[ ![](https://avatars2.githubusercontent.com/u/538058?v=3&s=80)](https://github.com/f3l1x)

###  Health Score

40

—

FairBetter than 86% of packages

Maintenance71

Regular maintenance activity

Popularity4

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 76.5% 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 ~514 days

Total

4

Last Release

161d ago

PHP version history (3 changes)v0.1PHP &gt;=7.2

v0.2PHP &gt;=7.4

v0.3PHP &gt;=8.4

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/538058?v=4)[Milan Šulc](/maintainers/f3l1x)[@f3l1x](https://github.com/f3l1x)

---

Top Contributors

[![f3l1x](https://avatars.githubusercontent.com/u/538058?v=4)](https://github.com/f3l1x "f3l1x (26 commits)")[![ojanota](https://avatars.githubusercontent.com/u/60657805?v=4)](https://github.com/ojanota "ojanota (6 commits)")[![silen-z](https://avatars.githubusercontent.com/u/1221687?v=4)](https://github.com/silen-z "silen-z (2 commits)")

---

Tags

phpqa

### Embed Badge

![Health badge](/badges/mtv-mstyle/health.svg)

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

###  Alternatives

[wp-cli/wp-cli-tests

WP-CLI testing framework

423.1M141](/packages/wp-cli-wp-cli-tests)[ec-europa/toolkit

Toolkit packaged for Drupal projects based on Robo.

40252.8k34](/packages/ec-europa-toolkit)[drupal/core-dev

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

2022.6M341](/packages/drupal-core-dev)[youwe/testing-suite

Contains Youwe's default testing packages for php.

13191.0k8](/packages/youwe-testing-suite)

PHPackages © 2026

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