PHPackages                             apnet/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. apnet/coding-standard

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

apnet/coding-standard
=====================

Apnet PHP coding standard

3.0.0(9y ago)12.1k19MITPHP

Since Nov 27Pushed 9y ago3 watchersCompare

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

READMEChangelogDependencies (2)Versions (7)Used By (9)

Apnet PHP PSR-2 coding standard
===============================

[](#apnet-php-psr-2-coding-standard)

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

[](#installation)

Add requirements to composer.json:

```
{
  "require-dev" : {
    "apnet/coding-standard" : "~3.0"
  }
}
```

Sniffs
------

[](#sniffs)

- PSR2
- PEAR.Commenting.InlineComment
- PEAR.ControlStructures.MultiLineCondition
- PEAR.WhiteSpace.ObjectOperatorIndent
- Symfony2.Classes.MultipleClassesOneFile
- Symfony2.Commenting.ClassComment
- Symfony2.Commenting.FunctionComment - with {@inheritdoc} support
- Apnet.NamingConvensions.ValidVariableName - require camelCase property names
- Squiz.Functions.MultiLineFunctionDeclaration

Getting PHP\_CodeSniffer report
-------------------------------

[](#getting-php_codesniffer-report)

Run `phpcs --standard=vendor/apnet/coding-standard/src/Apnet src` to analize code inside `src` directory

###  Health Score

35

—

LowBetter than 79% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community28

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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

Recently: every ~201 days

Total

6

Last Release

3594d ago

Major Versions

1.5.6 → 2.0.02015-04-18

2.0.1 → 3.0.02016-07-12

### Community

Maintainers

![](https://www.gravatar.com/avatar/fd7f833537e59f3a0275ec881051e8d08ee9b658025f675f201228956da8a3e0?d=identicon)[covex-nn](/maintainers/covex-nn)

---

Top Contributors

[![covex-nn](https://avatars.githubusercontent.com/u/110878?v=4)](https://github.com/covex-nn "covex-nn (30 commits)")[![bobthecow](https://avatars.githubusercontent.com/u/53660?v=4)](https://github.com/bobthecow "bobthecow (25 commits)")[![davehauenstein](https://avatars.githubusercontent.com/u/11996?v=4)](https://github.com/davehauenstein "davehauenstein (5 commits)")[![francisbesset](https://avatars.githubusercontent.com/u/471525?v=4)](https://github.com/francisbesset "francisbesset (4 commits)")[![derhasi](https://avatars.githubusercontent.com/u/118502?v=4)](https://github.com/derhasi "derhasi (3 commits)")[![ktomk](https://avatars.githubusercontent.com/u/352517?v=4)](https://github.com/ktomk "ktomk (2 commits)")[![pvankouteren](https://avatars.githubusercontent.com/u/1055598?v=4)](https://github.com/pvankouteren "pvankouteren (2 commits)")[![pborreli](https://avatars.githubusercontent.com/u/77759?v=4)](https://github.com/pborreli "pborreli (2 commits)")[![AD7six](https://avatars.githubusercontent.com/u/33387?v=4)](https://github.com/AD7six "AD7six (1 commits)")[![xgorse](https://avatars.githubusercontent.com/u/117971?v=4)](https://github.com/xgorse "xgorse (1 commits)")[![asm89](https://avatars.githubusercontent.com/u/657357?v=4)](https://github.com/asm89 "asm89 (1 commits)")[![fabpot](https://avatars.githubusercontent.com/u/47313?v=4)](https://github.com/fabpot "fabpot (1 commits)")[![fbrandt](https://avatars.githubusercontent.com/u/1192066?v=4)](https://github.com/fbrandt "fbrandt (1 commits)")[![merk](https://avatars.githubusercontent.com/u/278097?v=4)](https://github.com/merk "merk (1 commits)")[![qpleple](https://avatars.githubusercontent.com/u/774546?v=4)](https://github.com/qpleple "qpleple (1 commits)")[![robocoder](https://avatars.githubusercontent.com/u/922051?v=4)](https://github.com/robocoder "robocoder (1 commits)")[![soullivaneuh](https://avatars.githubusercontent.com/u/1698357?v=4)](https://github.com/soullivaneuh "soullivaneuh (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/apnet-coding-standard/health.svg)

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

###  Alternatives

[automattic/vipwpcs

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

25510.2M145](/packages/automattic-vipwpcs)[yoast/yoastcs

PHP\_CodeSniffer rules for Yoast projects

221.1M29](/packages/yoast-yoastcs)[mayflower/mo4-coding-standard

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

17508.3k5](/packages/mayflower-mo4-coding-standard)[orisai/coding-standard

Strict PHP coding standard

19193.5k62](/packages/orisai-coding-standard)

PHPackages © 2026

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