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. [Utility &amp; Helpers](/categories/utility)
4. /
5. fws/php-coding-standards

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

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 3w 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 26% 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

1950d 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

[humanmade/coding-standards

Human Made Coding Standards

160443.1k59](/packages/humanmade-coding-standards)[wp-cli/wp-cli-tests

WP-CLI testing framework

423.1M142](/packages/wp-cli-wp-cli-tests)[woocommerce/woocommerce-sniffs

WooCommerce sniffs

497.5M54](/packages/woocommerce-woocommerce-sniffs)[syde/phpcs

Syde PHP coding standards for WordPress projects.

1027.6k9](/packages/syde-phpcs)[bjornjohansen/wp-pre-commit-hook

Pre-commit hook for WordPress projects

119.3k8](/packages/bjornjohansen-wp-pre-commit-hook)

PHPackages © 2026

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