PHPackages                             hostnet/phpcs-tool - 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. [Testing &amp; Quality](/categories/testing)
4. /
5. hostnet/phpcs-tool

ActiveComposer-plugin[Testing &amp; Quality](/categories/testing)

hostnet/phpcs-tool
==================

PHP\_CodeSniffer tokenises PHP, JavaScript and CSS files and detects violations of a defined set of coding standards. Hostnet version

9.1.4(1y ago)4159.4k—8.8%13[1 PRs](https://github.com/hostnet/phpcs-tool/pulls)19MITPHPPHP ^8.1

Since Apr 7Pushed 1y ago1 watchersCompare

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

READMEChangelog (10)Dependencies (7)Versions (84)Used By (19)

[ ![](https://camo.githubusercontent.com/6a25649d6782916f44c023c179b7d1822b6005755f4309c3f0f2368a0038ef06/68747470733a2f2f7777772e686f73746e65742e6e6c2f696d616765732f686f73746e65742e737667)](http://www.hostnet.nl)

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

[](#installation)

Installation of the bundle can be done using `composer` and is the recommended way of adding the bundle to your application. To do so, in your command line enter the project directory and execute the following command to download the latest stable version of this bundle:

```
$ composer require hostnet/phpcs-tool
```

This command requires you to have Composer installed globally, as explained in the [installation chapter](https://getcomposer.org/doc/00-intro.md) of the Composer documentation.

This bundle and the component follow [semantic versioning](http://semver.org/) strictly.

Documentation
-------------

[](#documentation)

The full documentation of our ruleset (and custom Sniffs) can be found on our [Github Wiki pages](https://github.com/hostnet/phpcs-tool/wiki).

License
-------

[](#license)

The `hostnet/phpcs-tool` is licensed under the [MIT License](https://github.com/hostnet/phpcs-tool/blob/master/LICENSE), meaning you can reuse the code within proprietary software provided that all copies of the licensed software include a copy of the MIT License terms and the copyright notice.

Get in touch
------------

[](#get-in-touch)

You can reach us via email: .

###  Health Score

53

—

FairBetter than 97% of packages

Maintenance42

Moderate activity, may be stable

Popularity38

Limited adoption so far

Community33

Small or concentrated contributor base

Maturity87

Battle-tested with a long release history

 Bus Factor2

2 contributors hold 50%+ of commits

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

Recently: every ~256 days

Total

83

Last Release

461d ago

Major Versions

4.1.4 → 5.0.02017-02-02

5.3.0 → 6.0.02018-04-23

6.0.2 → 7.0.02018-04-25

7.0.0 → 8.0.02018-05-01

8.3.22 → 9.0.02022-04-04

PHP version history (8 changes)3.0.0PHP &gt;=5.3

3.0.11PHP &gt;=5.5

3.0.14PHP &gt;=5.6

5.0.0PHP &gt;=7.0

6.0.0PHP &gt;=7.1

8.3.12PHP &gt;=7.2

8.3.21PHP ^7.3|^8.0

9.1.4PHP ^8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/65433e1ef6edb2e8f96e18614b6618c84eed20ad0de6de0d0da36a9032ec7a18?d=identicon)[hostnet](/maintainers/hostnet)

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

---

Top Contributors

[![janlam7](https://avatars.githubusercontent.com/u/5459235?v=4)](https://github.com/janlam7 "janlam7 (27 commits)")[![ping-localhost](https://avatars.githubusercontent.com/u/37925797?v=4)](https://github.com/ping-localhost "ping-localhost (10 commits)")[![msteltenpool](https://avatars.githubusercontent.com/u/4869642?v=4)](https://github.com/msteltenpool "msteltenpool (10 commits)")[![rickprent](https://avatars.githubusercontent.com/u/2202733?v=4)](https://github.com/rickprent "rickprent (4 commits)")[![yannickl88](https://avatars.githubusercontent.com/u/5468127?v=4)](https://github.com/yannickl88 "yannickl88 (3 commits)")[![nicoschoenmaker](https://avatars.githubusercontent.com/u/1469323?v=4)](https://github.com/nicoschoenmaker "nicoschoenmaker (3 commits)")[![stefanlenselink](https://avatars.githubusercontent.com/u/834562?v=4)](https://github.com/stefanlenselink "stefanlenselink (2 commits)")[![mdeheij](https://avatars.githubusercontent.com/u/9057191?v=4)](https://github.com/mdeheij "mdeheij (2 commits)")[![mvannes](https://avatars.githubusercontent.com/u/8969371?v=4)](https://github.com/mvannes "mvannes (1 commits)")[![akvankorlaar](https://avatars.githubusercontent.com/u/10106608?v=4)](https://github.com/akvankorlaar "akvankorlaar (1 commits)")[![FlorisTurkenburg](https://avatars.githubusercontent.com/u/2980570?v=4)](https://github.com/FlorisTurkenburg "FlorisTurkenburg (1 commits)")[![AnwarElbo](https://avatars.githubusercontent.com/u/13262836?v=4)](https://github.com/AnwarElbo "AnwarElbo (1 commits)")[![StijnKlopper2k](https://avatars.githubusercontent.com/u/198602351?v=4)](https://github.com/StijnKlopper2k "StijnKlopper2k (1 commits)")[![svandervlugt](https://avatars.githubusercontent.com/u/9334451?v=4)](https://github.com/svandervlugt "svandervlugt (1 commits)")[![linaori](https://avatars.githubusercontent.com/u/1754678?v=4)](https://github.com/linaori "linaori (1 commits)")[![laurensotto](https://avatars.githubusercontent.com/u/56353943?v=4)](https://github.com/laurensotto "laurensotto (1 commits)")[![FreddyOffenga](https://avatars.githubusercontent.com/u/7803603?v=4)](https://github.com/FreddyOffenga "FreddyOffenga (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/hostnet-phpcs-tool/health.svg)

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

###  Alternatives

[vimeo/psalm

A static analysis tool for finding errors in PHP applications

5.8k77.5M6.7k](/packages/vimeo-psalm)[youwe/testing-suite

Contains Youwe's default testing packages for php.

13176.9k8](/packages/youwe-testing-suite)[digitalrevolution/php-codesniffer-baseline

Digital Revolution PHP\_Codesniffer baseline extension

18923.6k4](/packages/digitalrevolution-php-codesniffer-baseline)

PHPackages © 2026

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