PHPackages                             next-press/coding-standards - 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. next-press/coding-standards

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

next-press/coding-standards
===========================

All the NextPress Coding Standards in a single package.

06PHP

Since Jan 14Pushed 3y ago1 watchersCompare

[ Source](https://github.com/next-press/coding-standards)[ Packagist](https://packagist.org/packages/next-press/coding-standards)[ RSS](/packages/next-press-coding-standards/feed)WikiDiscussions main Synced 2mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

NextPress Coding Standards
==========================

[](#nextpress-coding-standards)

The goal of this repo is to provide the necessary sniffs for our custom coding standards, making sure that all NextPress products maintain a consistent codebase.

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

[](#installation)

Our coding standards rely on PHPCS and WordPress Coding Standards. The easiest way to get everything up and running is installing this package globally via Composer:

```
composer global require "next-press/coding-standards:main"

```

This command will install PHP\_CodeSniffer, WPCS, our coding standard, and PHP\_CodeSniffer Standards Composer Installer, a composer package that automatically sets the PHPCS `installed_paths` config.

### Making `phpcs` available

[](#making-phpcs-available)

By default, `phpcs` binary will be available at `~/.config/composer/vendor/bin` (on Linux machines). To make it available anywhere in the command line, it is necessary to add that folder to the env `$PATH` variable.

On linux machines it is possible adding this line in the end of the `~/.bashrc` file:

```
export PATH="$HOME/.config/composer/vendor/bin/:$PATH"

```

Changelog
=========

[](#changelog)

### Version 0.0.3 - 27/08/2020

[](#version-003---27082020)

### Version 0.0.2

[](#version-002)

- Changed: Global install via composer with PHP\_CodeSniffer Standards Composer Installer;

### Version 0.0.1

[](#version-001)

- Added: Initial version of the Coding Standards;

###  Health Score

14

—

LowBetter than 2% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity23

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/84072ba4a87777c88a8a546f88551db7a9260d13b76ad8418ddfe507d9f985ae?d=identicon)[aanduque](/maintainers/aanduque)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/next-press-coding-standards/health.svg)

```
[![Health](https://phpackages.com/badges/next-press-coding-standards/health.svg)](https://phpackages.com/packages/next-press-coding-standards)
```

###  Alternatives

[phpdocumentor/type-resolver

A PSR-5 based resolver of Class names, Types and Structural Element Names

9.2k719.5M166](/packages/phpdocumentor-type-resolver)[pimple/pimple

Pimple, a simple Dependency Injection Container

2.7k130.5M1.4k](/packages/pimple-pimple)[league/container

A fast and intuitive dependency injection container.

86387.8M343](/packages/league-container)[stella-maris/clock

A pre-release of the proposed PSR-20 Clock-Interface

7947.5M2](/packages/stella-maris-clock)[wptrt/wpthemereview

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

217736.5k29](/packages/wptrt-wpthemereview)[inpsyde/modularity

Modular PSR-11 implementation for WordPress plugins, themes or libraries.

54383.3k3](/packages/inpsyde-modularity)

PHPackages © 2026

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