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

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

imscp/imscp-coding-standard
===========================

i-MSCP coding standard

1.0.0(7y ago)0569LGPL-2.1-only

Since Mar 14Pushed 7y ago1 watchersCompare

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

READMEChangelog (1)Dependencies (1)Versions (2)Used By (9)

i-MSCP Coding Standard
======================

[](#i-mscp-coding-standard)

Repository with all coding standard ruleset for i-MSCP repositories.

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

[](#installation)

1. Install the module via composer by running:

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

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

    ```

        config
        src
        test

    ```

You can add or exclude some locations in that file. For a reference please see: [https://github.com/squizlabs/PHP\_CodeSniffer/wiki/Annotated-ruleset.xml](https://github.com/squizlabs/PHP_CodeSniffer/wiki/Annotated-ruleset.xml)

Usage
-----

[](#usage)

- To run checks only:

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

    ```
       $ composer cs-fix
    ```

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community15

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

2665d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/125594?v=4)[Laurent Declercq](/maintainers/nuxwin)[@nuxwin](https://github.com/nuxwin)

---

Top Contributors

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

---

Tags

Coding Standardimscp

### Embed Badge

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

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

###  Alternatives

[orisai/coding-standard

Strict PHP coding standard

19197.7k68](/packages/orisai-coding-standard)

PHPackages © 2026

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