PHPackages                             fws/php-coding-standards - 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. fws/php-coding-standards

ActivePhpcodesniffer-standard

fws/php-coding-standards
========================

Internal PHP coding standards for FWS

1.0.1(5y ago)020GPL-2.0+

Since Mar 1Pushed 5y agoCompare

[ Source](https://github.com/fws-solutions/php-coding-standards)[ Packagist](https://packagist.org/packages/fws/php-coding-standards)[ RSS](/packages/fws-php-coding-standards/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependencies (2)Versions (3)Used By (0)

Forwardslash PHP Coding Standards
=================================

[](#forwardslash-php-coding-standards)

Install
-------

[](#install)

To install in your project, use:

```
composer require fws/php-coding-standards --dev
```

Then add a `phpcs.xml` file to your project:

```

```

To do this quickly, run:

```
echo '' > phpcs.xml
```

Installation will automatically install `Forwardslash` standard for `vendor/bin/phpcs`.

CLI Linting
-----------

[](#cli-linting)

### Lint a single file

[](#lint-a-single-file)

```
./vendor/bin/phpcs -s path/to/file.php
```

### Lint multiple files

[](#lint-multiple-files)

```
./vendor/bin/phpcs -s --extensions=php /path/to/dir
```

Editor Linting
--------------

[](#editor-linting)

In your favorite editor install it's `phpcs` plugin, and it will automatically detect your `phpcs.xml` file and lint any PHP file you have open.

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

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

Total

2

Last Release

1904d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/e60a408decdbac6fa99e170b33fe266f1fabbe62ebaeba396074efc58a80bb17?d=identicon)[boris@forwardslashny.com](/maintainers/boris@forwardslashny.com)

### Embed Badge

![Health badge](/badges/fws-php-coding-standards/health.svg)

```
[![Health](https://phpackages.com/badges/fws-php-coding-standards/health.svg)](https://phpackages.com/packages/fws-php-coding-standards)
```

###  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)[wp-cli/wp-cli-tests

WP-CLI testing framework

422.7M87](/packages/wp-cli-wp-cli-tests)[drupal/coder

Coder is a library to review Drupal code.

3043.6M461](/packages/drupal-coder)[woocommerce/woocommerce-sniffs

WooCommerce sniffs

496.8M42](/packages/woocommerce-woocommerce-sniffs)[humanmade/coding-standards

Human Made Coding Standards

161424.0k49](/packages/humanmade-coding-standards)[acquia/orca

A tool for testing a company's software packages together in the context of a realistic, functioning, best practices Drupal build

32902.4k](/packages/acquia-orca)

PHPackages © 2026

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