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

ActiveRobo-tasks[Testing &amp; Quality](/categories/testing)

sweetchuck/robo-phpcs
=====================

Robo task wrapper for PHPCS

v0.2.0(5y ago)3165.1k↓45%1[5 issues](https://github.com/Sweetchuck/robo-phpcs/issues)20GPL-2.0-or-laterPHPPHP &gt;=7.2CI passing

Since Jul 23Pushed 3mo ago3 watchersCompare

[ Source](https://github.com/Sweetchuck/robo-phpcs)[ Packagist](https://packagist.org/packages/sweetchuck/robo-phpcs)[ RSS](/packages/sweetchuck-robo-phpcs/feed)WikiDiscussions 4.x Synced 1mo ago

READMEChangelog (10)Dependencies (13)Versions (33)Used By (20)

Robo task wrapper for PHP\_CodeSniffer
======================================

[](#robo-task-wrapper-for-php_codesniffer)

[![CircleCI](https://camo.githubusercontent.com/92fc04d5796c9249220513b009173396f9505ee4e6aaec97243b39a44aedca7a/68747470733a2f2f636972636c6563692e636f6d2f67682f5377656574636875636b2f726f626f2d70687063732f747265652f342e782e7376673f7374796c653d737667)](https://circleci.com/gh/Sweetchuck/robo-phpcs/?branch=4.x)[![codecov](https://camo.githubusercontent.com/acd2297c728380cb90b8ccc131ebfbe2a00ee7267d432925bddc857494512491/68747470733a2f2f636f6465636f762e696f2f67682f5377656574636875636b2f726f626f2d70687063732f6272616e63682f342e782f67726170682f62616467652e7376673f746f6b656e3d48505951694259524e47)](https://app.codecov.io/gh/Sweetchuck/robo-phpcs/branch/4.x)

About
-----

[](#about)

This package provides a Robo task wrapper for [PHP\_CodeSniffer](https://github.com/squizlabs/PHP_CodeSniffer). It integrates code style checking into your Robo task runner workflows, allowing you to lint PHP files and parse PHPCS config XML as part of your automated development processes.

The wrapper simplifies PHPCS integration by providing easy-to-use Robo tasks that can be composed into complex build and quality assurance workflows.

When to Use
-----------

[](#when-to-use)

Use this package when you:

- Are using [Robo](https://robo.li/) as your task runner
- Need to lint files on Git "pre-commit" hook.
- Prefer to manage code quality checks as composable Robo tasks

Install
-------

[](#install)

Run `composer require --dev sweetchuck/robo-phpcs`

Usage
-----

[](#usage)

For basic usage, see [RoboFile.php](./RoboFile.php)

###  Health Score

40

—

FairBetter than 88% of packages

Maintenance34

Infrequent updates — may be unmaintained

Popularity34

Limited adoption so far

Community26

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 96.9% 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 ~139 days

Recently: every ~500 days

Total

26

Last Release

106d ago

Major Versions

v0.2.0 → 3.x-dev2026-01-31

3.x-dev → 4.x-dev2026-01-31

1.x-dev → 2.x-dev2026-02-01

PHP version history (6 changes)v0.0.12PHP &gt;=7.1

v0.1.0PHP &gt;=7.2

3.x-devPHP &gt;=8.2

4.x-devPHP &gt;=8.3

1.x-devPHP &gt;=7.3

2.x-devPHP &gt;=7.4

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/591103?v=4)[Andor](/maintainers/Sweetchuck)[@Sweetchuck](https://github.com/Sweetchuck)

---

Top Contributors

[![Sweetchuck](https://avatars.githubusercontent.com/u/591103?v=4)](https://github.com/Sweetchuck "Sweetchuck (62 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (2 commits)")

---

Tags

php-codesnifferphpcsroborobo-tasks

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/sweetchuck-robo-phpcs/health.svg)

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

###  Alternatives

[phpspec/prophecy

Highly opinionated mocking framework for PHP 5.3+

8.5k551.7M682](/packages/phpspec-prophecy)[brianium/paratest

Parallel testing for PHP

2.5k118.8M754](/packages/brianium-paratest)[instaclick/php-webdriver

PHP WebDriver for Selenium 2

43661.8M22](/packages/instaclick-php-webdriver)[spatie/phpunit-snapshot-assertions

Snapshot testing with PHPUnit

69617.9M510](/packages/spatie-phpunit-snapshot-assertions)[edgedesign/phpqa

Analyze PHP code with one command.

5641.0M24](/packages/edgedesign-phpqa)[szepeviktor/phpstan-wordpress

WordPress extensions for PHPStan

3287.8M898](/packages/szepeviktor-phpstan-wordpress)

PHPackages © 2026

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