PHPackages                             mnapoli/hard-mode - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. mnapoli/hard-mode

ActivePhpcodesniffer-standard[Utility &amp; Helpers](/categories/utility)

mnapoli/hard-mode
=================

Hard mode for PHP

0.3.0(5y ago)959.3k↓50%120MIT

Since Feb 20Pushed 5y ago1 watchersCompare

[ Source](https://github.com/mnapoli/hard-mode)[ Packagist](https://packagist.org/packages/mnapoli/hard-mode)[ RSS](/packages/mnapoli-hard-mode/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (4)Dependencies (1)Versions (5)Used By (20)

Usage
-----

[](#usage)

```
composer require --dev mnapoli/hard-mode

```

Then write a `.phpcs.xml.dist` file:

```

    src
    tests

```

Then run the analysis:

```
vendor/bin/phpcs

```

Or using [pretty](https://github.com/mnapoli/pretty):

```
vendor/bin/pretty

```

Fixing errors
-------------

[](#fixing-errors)

Run:

```
vendor/bin/phpcbf

```

Or using [pretty](https://github.com/mnapoli/pretty):

```
vendor/bin/pretty fix

```

Advanced configuration
----------------------

[](#advanced-configuration)

Check out the [PHP CodeSniffer documentation](https://github.com/squizlabs/PHP_CodeSniffer/wiki) for all the options. You will find below documentation for common scenarios.

To exclude some files from the analysis:

```
tests/Fixtures
```

On large projects you may want to use PHP CodeSniffer's cache:

```

```

Remember to add `.phpcs-cache` to `.gitignore`.

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity35

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity53

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

Total

4

Last Release

2044d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/329a6111724074f5388e95dd41a03ccf3c43f4bfe1ecf27c94c9efc6f7823228?d=identicon)[mnapoli](/maintainers/mnapoli)

---

Top Contributors

[![mnapoli](https://avatars.githubusercontent.com/u/720328?v=4)](https://github.com/mnapoli "mnapoli (13 commits)")

---

Tags

coding-standardcoding-stylephp

### Embed Badge

![Health badge](/badges/mnapoli-hard-mode/health.svg)

```
[![Health](https://phpackages.com/badges/mnapoli-hard-mode/health.svg)](https://phpackages.com/packages/mnapoli-hard-mode)
```

PHPackages © 2026

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