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(2mo ago)22.0k↑96.9%1MITPHP ^8.3

Since May 10Pushed 2mo 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 2w 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

49

—

FairBetter than 94% of packages

Maintenance88

Actively maintained with recent releases

Popularity25

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

62d 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.5k137.8M2.5k](/packages/slevomat-coding-standard)[humanmade/coding-standards

Human Made Coding Standards

161450.0k66](/packages/humanmade-coding-standards)[drupal/coder

Coder is a library to review Drupal code.

3046.8M629](/packages/drupal-coder)[wp-cli/wp-cli-tests

WP-CLI testing framework

423.3M150](/packages/wp-cli-wp-cli-tests)[nette/coding-standard

41939.0k21](/packages/nette-coding-standard)[mayflower/mo4-coding-standard

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

17542.0k7](/packages/mayflower-mo4-coding-standard)

PHPackages © 2026

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