PHPackages                             45press/phpcs - 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. 45press/phpcs

ActivePhpcodesniffer-standard

45press/phpcs
=============

PHPCS base ruleset for 45PRESS

07

Since Jun 5Pushed 6y agoCompare

[ Source](https://github.com/45PRESS/phpcs)[ Packagist](https://packagist.org/packages/45press/phpcs)[ RSS](/packages/45press-phpcs/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

45PRESS PHPCS
=============

[](#45press-phpcs)

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

[](#installation)

Install the library via Composer:

```
composer require --dev 45press/phpcs:dev-master
```

Usage
-----

[](#usage)

Lint your PHP files with the following command:

```
./vendor/bin/phpcs .
```

Edit the `composer.json` file by adding the following:

```
  "scripts": {
    "lint": [
      "phpcs ."
    ],
  }
```

Then lint with...

```
composer run lint
```

### Continuous Integration

[](#continuous-integration)

Library loads the `45PRESS-Standard` ruleset, and checks for syntax errors for PHP 7.1 or higher.

To override the default PHP version check, set the `--runtime-set testVersion 7.1-` configuration option. Example for PHP version 7.2 and above:

```
./vendor/bin/phpcs --runtime-set testVersion 7.2-
```

Note that you can only overrule PHP version check from the command-line.

### IDE

[](#ide)

IDE integrations of PHPCS can fail to register the `45PRESS-Standard` ruleset. If this happens, place `.phpcs.xml.dist` at your project root:

```

```

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity37

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/2fccb1a528dc068fa9d2181601a0e393c402dff5d08a90ba8bd81c2cd4f63cbf?d=identicon)[TheRiFiSamurai](/maintainers/TheRiFiSamurai)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/45press-phpcs/health.svg)

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

PHPackages © 2026

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