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. pretty-helpful-php/coding-standard

ActiveLibrary

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 6d 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 37% 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

2632d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/767d7eecc76ae6f2917ab7135dbfd9d6870ee75d54be5dfa72ada0173c801a36?d=identicon)[Karuberu](/maintainers/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.3k74.3M1.3k](/packages/phpcompatibility-php-compatibility)[wp-coding-standards/wpcs

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

2.7k42.5M1.6k](/packages/wp-coding-standards-wpcs)[dealerdirect/phpcodesniffer-composer-installer

PHP\_CodeSniffer Standards Composer Installer Plugin

596161.9M1.9k](/packages/dealerdirect-phpcodesniffer-composer-installer)[phpcompatibility/phpcompatibility-wp

A ruleset for PHP\_CodeSniffer to check for PHP cross-version compatibility issues in projects, while accounting for polyfills provided by WordPress.

21830.6M587](/packages/phpcompatibility-phpcompatibility-wp)[automattic/vipwpcs

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

25510.2M145](/packages/automattic-vipwpcs)[drupal/coder

Coder is a library to review Drupal code.

3043.6M461](/packages/drupal-coder)

PHPackages © 2026

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