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

ActiveLibrary

inviqa/magento1-coding-standard
===============================

A set of PHP\_CodeSniffer rules and sniffs for Magento1

2.0(7y ago)024.7kMITPHP &gt;=5.6.0

Since Nov 6Pushed 7y ago16 watchersCompare

[ Source](https://github.com/inviqa/magento-phpcs-coding-standard)[ Packagist](https://packagist.org/packages/inviqa/magento1-coding-standard)[ Docs](https://github.com/inviqa/magento-phpcs-coding-standard)[ RSS](/packages/inviqa-magento1-coding-standard/feed)WikiDiscussions master Synced 2mo ago

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

Inviqa - Magento1 Coding Standard
=================================

[](#inviqa---magento1-coding-standard)

Magento1 coding standard which consumes [Magento EQP1](https://github.com/magento/marketplace-eqp) and [Magento ECG](https://github.com/magento-ecg/coding-standard) with extra Sniffs and configuration.

Installation &amp; Usage
------------------------

[](#installation--usage)

```
composer config repositories.inviqa-magento1cs vcs https://github.com/inviqa/magento-phpcs-coding-standard
composer require inviqa/magento1-coding-standard --update-with-dependencies --dev
```

### Composer Scripts

[](#composer-scripts)

Utility configuration to wrapping `phpcs` arguments, require the package using Composer's CLI.

```
composer.phar require inviqa/magento-phpcs-coding-standard --dev --update-with-dependencies
```

Update your project's `composer.json` with the following root options

```
{
    "config": {
        "bin-dir": "bin"
    },
    "scripts": {
        "sniff": "bin/phpcs -ns --standard=vendor/inviqa/magento-phpcs-coding-standard"
    }
}
```

Run Composer script

```
composer.phar sniff Magento/app/code/local/Acme/ExampleModule/{Block,Helper,Model}
```

### Config file

[](#config-file)

```

    AcmeCompany - PHP CodeSniffer configuration

    */code/community/*
    */code/core/*
    */tests/*
    */data/*
    */sql/*

```

Existing projects can require the Inviqa Magento1 coding standard by updating the `phpcs.xml` file like above.

Requirements
------------

[](#requirements)

PHP &gt;= 5.6

Development
-----------

[](#development)

A docker environment has been provided to update the composer dependencies - should composer / PHP not be available globally on the host development machine.

```
docker-compose up -d
docker-compose rn --rm composer bash
composer update | require acme/package
```

Commit the updated `composer.json` for peer review.

Contribution
------------

[](#contribution)

Please feel free to contribute new sniffs or any fixes or improvements for the existing ones.

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community18

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 65.6% 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 ~516 days

Total

4

Last Release

2655d ago

Major Versions

1.2 → 2.02019-02-01

PHP version history (2 changes)1.0PHP &gt;=5.4.0

2.0PHP &gt;=5.6.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/6b33b247b870cf3add3d95961e04f7b87c63d0817af5c373837c28ae3c1aeaf0?d=identicon)[inviqa-session](/maintainers/inviqa-session)

---

Top Contributors

[![zlik](https://avatars.githubusercontent.com/u/472255?v=4)](https://github.com/zlik "zlik (21 commits)")[![alistairstead](https://avatars.githubusercontent.com/u/62936?v=4)](https://github.com/alistairstead "alistairstead (2 commits)")[![adragus-inviqa](https://avatars.githubusercontent.com/u/13104649?v=4)](https://github.com/adragus-inviqa "adragus-inviqa (2 commits)")[![shanethehat](https://avatars.githubusercontent.com/u/604650?v=4)](https://github.com/shanethehat "shanethehat (2 commits)")[![pborreli](https://avatars.githubusercontent.com/u/77759?v=4)](https://github.com/pborreli "pborreli (1 commits)")[![philwinkle](https://avatars.githubusercontent.com/u/589550?v=4)](https://github.com/philwinkle "philwinkle (1 commits)")[![bennoislost](https://avatars.githubusercontent.com/u/1015154?v=4)](https://github.com/bennoislost "bennoislost (1 commits)")[![tkn98](https://avatars.githubusercontent.com/u/10513307?v=4)](https://github.com/tkn98 "tkn98 (1 commits)")[![nevvermind](https://avatars.githubusercontent.com/u/834932?v=4)](https://github.com/nevvermind "nevvermind (1 commits)")

### Embed Badge

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

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

###  Alternatives

[slevomat/coding-standard

Slevomat Coding Standard for PHP\_CodeSniffer complements Consistence Coding Standard by providing sniffs with additional checks.

1.5k123.5M1.8k](/packages/slevomat-coding-standard)[drupal/coder

Coder is a library to review Drupal code.

3043.6M460](/packages/drupal-coder)[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)

PHPackages © 2026

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