PHPackages                             figlab/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. [Utility &amp; Helpers](/categories/utility)
4. /
5. figlab/coding-standard

ActivePhpcodesniffer-standard[Utility &amp; Helpers](/categories/utility)

figlab/coding-standard
======================

PHPCS coding-standard for Laravel applications.

2.0.0(2w ago)21.5k↑110%1MITPHP ^8.3

Since May 10Pushed 2w ago2 watchersCompare

[ Source](https://github.com/figlabhq/coding-standard)[ Packagist](https://packagist.org/packages/figlab/coding-standard)[ RSS](/packages/figlab-coding-standard/feed)WikiDiscussions main Synced 2d ago

READMEChangelog (7)Dependencies (8)Versions (8)Used By (0)

FIGLAB Coding Standard
======================

[](#figlab-coding-standard)

PHPCS coding-standard for Laravel applications and packages. Based on the awesome [IxDF Coding Standard](https://github.com/InteractionDesignFoundation/coding-standard/).

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

[](#requirements)

- PHP 8.3 or higher
- PHP\_CodeSniffer 4.x

> **Upgrading from 1.x?** Version 2.0 raises the minimum PHP version to 8.3 and moves to PHP\_CodeSniffer 4. PHPCS 4 can surface new findings and apply different auto-fixes than 3.x, so review the results after upgrading. Projects that are not yet ready can stay on the `^1.0` line.

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

[](#installation)

1. Install the package via composer by running:

```
composer require --dev figlab/coding-standard
```

2. Add composer scripts into your `composer.json`:

```
"scripts": {
  "cs:check": "phpcs -p -s --colors --report-full --report-summary",
  "cs:fix": "phpcbf -p --colors"
}
```

3. Create file `phpcs.xml` on base path of your repository with content

```

    app
    config
    database
    lang
    routes
    tests

```

Usage
-----

[](#usage)

- To run checks only:

```
composer cs:check
```

- To automatically fix CS issues:

```
composer cs:fix
```

###  Health Score

51

—

FairBetter than 95% of packages

Maintenance97

Actively maintained with recent releases

Popularity24

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity61

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

Every ~128 days

Recently: every ~191 days

Total

7

Last Release

16d ago

Major Versions

1.0.5 → 2.0.02026-06-18

PHP version history (2 changes)1.0.0PHP ^8.2

2.0.0PHP ^8.3

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/171715?v=4)[Mohammad Emran](/maintainers/phpfour)[@phpfour](https://github.com/phpfour)

---

Top Contributors

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

### Embed Badge

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

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

###  Alternatives

[slevomat/coding-standard

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

1.5k134.0M2.3k](/packages/slevomat-coding-standard)[humanmade/coding-standards

Human Made Coding Standards

160443.1k59](/packages/humanmade-coding-standards)[drupal/coder

Coder is a library to review Drupal code.

3045.9M577](/packages/drupal-coder)[wp-cli/wp-cli-tests

WP-CLI testing framework

423.1M142](/packages/wp-cli-wp-cli-tests)[nette/coding-standard

41937.1k19](/packages/nette-coding-standard)[shopsys/coding-standards

Coding standards definition compatible with PSR-2

20280.7k20](/packages/shopsys-coding-standards)

PHPackages © 2026

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