PHPackages                             emielmolenaar/phpcs-laravel - 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. emielmolenaar/phpcs-laravel

Abandoned → [laravel/pint](/?search=laravel%2Fpint)ArchivedPhpcodesniffer-standard

emielmolenaar/phpcs-laravel
===========================

PHPCS libraries and configuration for Laravel

2.1(5y ago)31119.2k↓20%121Unlicense

Since Feb 15Pushed 3y ago3 watchersCompare

[ Source](https://github.com/emielmolenaar/phpcs-laravel)[ Packagist](https://packagist.org/packages/emielmolenaar/phpcs-laravel)[ Docs](https://github.com/emielmolenaar/phpcs-laravel)[ RSS](/packages/emielmolenaar-phpcs-laravel/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (6)Dependencies (4)Versions (7)Used By (1)

\[DEPRECATED\] [Laravel Pint](https://laravel.com/docs/9.x/pint) is an excellent, maintained replacement. Thanks to all contributers while this repository was still alive!
===========================================================================================================================================================================

[](#deprecated-laravel-pint-is-an-excellent-maintained-replacement-thanks-to-all-contributers-while-this-repository-was-still-alive)

Emiel Molenaar's PHPCS Configuration
====================================

[](#emiel-molenaars-phpcs-configuration)

I use this package to set up a consistent PHPCS configuration across my Laravel projects. The ruleset is based on [@nandosalles' ruleset](https://medium.com/@nandosalles/the-ruleset-phpcs-for-my-laravel-projects-a54cb3c95b31).

If you wish to use this configuration in your project, install it using composer:

`composer require --dev emielmolenaar/phpcs-laravel`

Afterwards, run `php vendor/bin/phpcs -i` to verify that `phpcs-laravel` is listed as an installed ruleset.

You may now use the ruleset like so:

`php vendor/bin/phpcs --standard=phpcs-laravel app/`

Contributions welcome.

###  Health Score

40

—

FairBetter than 88% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity43

Moderate usage in the ecosystem

Community18

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 60% 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 ~164 days

Recently: every ~198 days

Total

6

Last Release

1827d ago

Major Versions

1.3 → 2.02020-11-10

### Community

Maintainers

![](https://www.gravatar.com/avatar/2e785614e832929af27500e82c15157f3df1968afc1cbba3b0a418160c9410eb?d=identicon)[emiel.molenaar](/maintainers/emiel.molenaar)

---

Top Contributors

[![emielmolenaar](https://avatars.githubusercontent.com/u/2470795?v=4)](https://github.com/emielmolenaar "emielmolenaar (6 commits)")[![jamesmehorter](https://avatars.githubusercontent.com/u/491189?v=4)](https://github.com/jamesmehorter "jamesmehorter (2 commits)")[![underdpt](https://avatars.githubusercontent.com/u/8122137?v=4)](https://github.com/underdpt "underdpt (2 commits)")

---

Tags

phpcslaravel

### Embed Badge

![Health badge](/badges/emielmolenaar-phpcs-laravel/health.svg)

```
[![Health](https://phpackages.com/badges/emielmolenaar-phpcs-laravel/health.svg)](https://phpackages.com/packages/emielmolenaar-phpcs-laravel)
```

###  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.6M461](/packages/drupal-coder)[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)[mayflower/mo4-coding-standard

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

17508.3k5](/packages/mayflower-mo4-coding-standard)[socialengine/sniffer-rules

A Lumen 5 and Laravel 5 SquizLabs Code Sniffer 2.0 artisan command. Detect violations of a defined coding standard. It helps your code remains clean and consistent.

1248.2k1](/packages/socialengine-sniffer-rules)

PHPackages © 2026

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