PHPackages                             onramplab/onr-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. [Utility &amp; Helpers](/categories/utility)
4. /
5. onramplab/onr-phpcs-laravel

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

onramplab/onr-phpcs-laravel
===========================

PHPCS libraries and configuration for Laravel

v1.2.0(3y ago)033.1k↓34.1%12Unlicense

Since Sep 6Pushed 3y ago8 watchersCompare

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

READMEChangelogDependencies (2)Versions (5)Used By (12)

OnrampLab's PHPCS Configuration
===============================

[](#onramplabs-phpcs-configuration)

We use this package to set up a consistent PHPCS configuration across my Laravel projects. The ruleset is based on [@emielmolenaar ruleset](https://github.com/emielmolenaar/phpcs-laravel).

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

`composer require --dev onramplab/onr-phpcs-laravel`

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

You may now use the ruleset like so:

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

Or you can create a `phpcs.xml` file in your root folder with following example:

```

    The Laravel Coding Standards

    app
    config
    public
    resources
    routes
    tests

```

Contributions welcome.

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity27

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 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 ~129 days

Total

4

Last Release

1329d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/bbca07d652fcb7978dab39dde32df72ff90e7645cd4e51be87f7454853d510a7?d=identicon)[onramplab](/maintainers/onramplab)

---

Top Contributors

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

---

Tags

phpcslaravel

### Embed Badge

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

```
[![Health](https://phpackages.com/badges/onramplab-onr-phpcs-laravel/health.svg)](https://phpackages.com/packages/onramplab-onr-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)[phpcsstandards/phpcsutils

A suite of utility functions for use with PHP\_CodeSniffer

6333.4M58](/packages/phpcsstandards-phpcsutils)[drupal/coder

Coder is a library to review Drupal code.

3043.6M461](/packages/drupal-coder)[mayflower/mo4-coding-standard

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

17508.3k5](/packages/mayflower-mo4-coding-standard)[syde/phpcs

Syde PHP coding standards for WordPress projects.

1019.7k7](/packages/syde-phpcs)[secl-group/phpcs-secl-standard

A PHP\_CodeSniffer maintainability standard for Secl Group applications

149.7k](/packages/secl-group-phpcs-secl-standard)

PHPackages © 2026

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