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

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

webimpress70/coding-standard
============================

PHP 7.0 support for Webimpress Coding Standard

1.2.9(4y ago)061[2 issues](https://github.com/webimpress70/coding-standard/issues)[2 PRs](https://github.com/webimpress70/coding-standard/pulls)1BSD-2-ClausePHPPHP ^7.0 || ^8.0

Since Mar 7Pushed 3y agoCompare

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

READMEChangelogDependencies (2)Versions (27)Used By (1)

PHP 7.0 support for Webimpress Coding Standard
==============================================

[](#php-70-support-for-webimpress-coding-standard)

\[[![Unit Tests](https://github.com/webimpress70/coding-standard/actions/workflows/phpunit.yml/badge.svg)](https://github.com/webimpress70/coding-standard/actions/workflows/phpunit.yml/badge.svg)\] () \[[![Coding Standards](https://github.com/webimpress70/coding-standard/actions/workflows/phpcs.yml/badge.svg)](https://github.com/webimpress70/coding-standard/actions/workflows/phpcs.yml/badge.svg)\] () \[[![Coverage Status](https://camo.githubusercontent.com/1584355870f43597f87e4f7ef736bdf808eac7775287823a662995e1cdfc8645/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f776562696d707265737337302f636f64696e672d7374616e646172642f62616467652e7376673f6272616e63683d6d6173746572)](https://camo.githubusercontent.com/1584355870f43597f87e4f7ef736bdf808eac7775287823a662995e1cdfc8645/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f776562696d707265737337302f636f64696e672d7374616e646172642f62616467652e7376673f6272616e63683d6d6173746572)\] ()

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

[](#installation)

1. Install the module via composer by running:

    ```
    $ composer require --dev webimpress70/coding-standard
    ```
2. Add composer scripts into your `composer.json`:

    ```
    "scripts": {
        "cs-check": "phpcs",
        "cs-fix": "phpcbf"
    }
    ```
3. Create file `phpcs.xml` in base path of your repository with content:

    ```

        config
        src
        test

    ```

As shown above you must define locations or files you want to be checked and fixed by code sniffer. For a reference please see: [https://github.com/squizlabs/PHP\_CodeSniffer/wiki/Annotated-Ruleset](https://github.com/squizlabs/PHP_CodeSniffer/wiki/Annotated-Ruleset)

Usage
-----

[](#usage)

- To run checks only:

    ```
    $ composer cs-check
    ```
- To automatically fix many CS issues:

    ```
    $ composer cs-fix
    ```

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity75

Established project with proven stability

 Bus Factor1

Top contributor holds 97.4% 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 ~49 days

Recently: every ~14 days

Total

24

Last Release

1491d ago

PHP version history (3 changes)1.0.0PHP ^7.1

1.2.0PHP ^7.3 || ^8.0

1.2.5PHP ^7.0 || ^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/12bb1d3b51340daa0f19c946f2ba7d3e4b277854fc722409809d0e43845fe0de?d=identicon)[garygitton](/maintainers/garygitton)

---

Top Contributors

[![michalbundyra](https://avatars.githubusercontent.com/u/7423207?v=4)](https://github.com/michalbundyra "michalbundyra (837 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (6 commits)")[![dependabot-preview[bot]](https://avatars.githubusercontent.com/in/2141?v=4)](https://github.com/dependabot-preview[bot] "dependabot-preview[bot] (5 commits)")[![garygitton](https://avatars.githubusercontent.com/u/3704874?v=4)](https://github.com/garygitton "garygitton (5 commits)")[![szepeviktor](https://avatars.githubusercontent.com/u/952007?v=4)](https://github.com/szepeviktor "szepeviktor (2 commits)")[![weierophinney](https://avatars.githubusercontent.com/u/25943?v=4)](https://github.com/weierophinney "weierophinney (1 commits)")[![geerteltink](https://avatars.githubusercontent.com/u/9497586?v=4)](https://github.com/geerteltink "geerteltink (1 commits)")[![kynx](https://avatars.githubusercontent.com/u/1320145?v=4)](https://github.com/kynx "kynx (1 commits)")[![rieschl](https://avatars.githubusercontent.com/u/3321556?v=4)](https://github.com/rieschl "rieschl (1 commits)")

---

Tags

phpcswebimpressPSR-2Coding Standardpsr-12php 7.0

###  Code Quality

TestsPHPUnit

### Embed Badge

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

```
[![Health](https://phpackages.com/badges/webimpress70-coding-standard/health.svg)](https://phpackages.com/packages/webimpress70-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)[webimpress/coding-standard

Webimpress Coding Standard

142.1M37](/packages/webimpress-coding-standard)[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)[orisai/coding-standard

Strict PHP coding standard

19193.5k62](/packages/orisai-coding-standard)[suin/phpcs-psr4-sniff

PHP\_CodeSniffer sniff that checks class name matches PSR-4 project structure.

271.7M16](/packages/suin-phpcs-psr4-sniff)

PHPackages © 2026

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