PHPackages                             pretty-helpful-php/coding-standard - 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. [PSR &amp; Standards](/categories/psr-standards)
4. /
5. pretty-helpful-php/coding-standard

ActiveLibrary[PSR &amp; Standards](/categories/psr-standards)

pretty-helpful-php/coding-standard
==================================

Pretty Helpful PHP coding standard

v1.0.0(7y ago)09MITPHP

Since Mar 4Pushed 7y ago1 watchersCompare

[ Source](https://github.com/pretty-helpful-php/coding-standard)[ Packagist](https://packagist.org/packages/pretty-helpful-php/coding-standard)[ RSS](/packages/pretty-helpful-php-coding-standard/feed)WikiDiscussions master Synced 3w ago

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

Pretty Helpful PHP Coding Standard
==================================

[](#pretty-helpful-php-coding-standard)

- [Introduction](#introduction)
- [Installation](#installation)
- [How to use](#how-to-use)
- [Contributing](#contributing)
- [License](#license)

Introduction
------------

[](#introduction)

The Pretty Helpful PHP coding standard is a [PSR-2-based](https://www.php-fig.org/psr/psr-2/) coding standard built for use with [PHP\_CodeSniffer](https://github.com/squizlabs/PHP_CodeSniffer).

This coding standard was written with the following basic principles in mind:

1. Be consistent.
2. Keep functions simple and easy to read.
3. Avoid practices that lead to unreliable code or unreliable tests.

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

[](#installation)

This standard is configured for use with [Composer](http://getcomposer.org).

To install it as a dependency, run the following command:

```
composer require pretty-helpful-php/coding-standard --dev

```

How to use
----------

[](#how-to-use)

Once the standard is installed, it can be run from command line using the following command:

```
phpcs --standard=PrettyHelpfulPHP /path/to/somefile.php

```

See the [PHP\_CodeSniffer usage page](https://github.com/squizlabs/PHP_CodeSniffer/wiki/Usage) for more information.

Contributing
------------

[](#contributing)

Contributions are welcome. See [contributing](.github/CONTRIBUTING.md) for more information.

License
-------

[](#license)

This coding standard is published under the [MIT](LICENSE) license.

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity60

Established project with proven stability

 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

Unknown

Total

1

Last Release

2677d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2200187?v=4)[Karuberu](/maintainers/Karuberu)[@Karuberu](https://github.com/Karuberu)

---

Top Contributors

[![Karuberu](https://avatars.githubusercontent.com/u/2200187?v=4)](https://github.com/Karuberu "Karuberu (1 commits)")

---

Tags

coding-standardsphpphp-codesnifferphpcsphpcs-standardsstandardsphpcs

### Embed Badge

![Health badge](/badges/pretty-helpful-php-coding-standard/health.svg)

```
[![Health](https://phpackages.com/badges/pretty-helpful-php-coding-standard/health.svg)](https://phpackages.com/packages/pretty-helpful-php-coding-standard)
```

###  Alternatives

[phpcompatibility/php-compatibility

A set of sniffs for PHP\_CodeSniffer that checks for PHP cross-version compatibility.

2.3k81.1M1.6k](/packages/phpcompatibility-php-compatibility)[automattic/vipwpcs

PHP\_CodeSniffer rules (sniffs) to enforce WordPress VIP minimum coding conventions

25811.4M195](/packages/automattic-vipwpcs)[wptrt/wpthemereview

PHP\_CodeSniffer rules (sniffs) to verify theme compliance with the rules for theme hosting on wordpress.org

216792.6k30](/packages/wptrt-wpthemereview)[yoast/yoastcs

PHP\_CodeSniffer rules for Yoast projects

221.2M34](/packages/yoast-yoastcs)[mayflower/mo4-coding-standard

PHP CodeSniffer ruleset implementing the MO4 coding standards extending the Symfony coding standards.

17534.2k7](/packages/mayflower-mo4-coding-standard)[orisai/coding-standard

Strict PHP coding standard

20199.0k68](/packages/orisai-coding-standard)

PHPackages © 2026

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