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)3167.4k↑255%1[5 issues](https://github.com/Sweetchuck/robo-phpcs/issues)20GPL-2.0-or-laterPHPPHP &gt;=7.2CI failing

Since Jul 23Pushed 1mo 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 yesterday

READMEChangelog (10)Dependencies (13)Versions (35)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

43

—

FairBetter than 89% of packages

Maintenance41

Moderate activity, may be stable

Popularity35

Limited adoption so far

Community26

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 94.2% 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 ~143 days

Recently: every ~529 days

Total

26

Last Release

35d ago

Major Versions

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

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

2.x-dev → 4.x-dev2026-05-28

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

v0.1.0PHP &gt;=7.2

3.x-devPHP &gt;=8.2

1.x-devPHP &gt;=7.3

2.x-devPHP &gt;=7.4

4.x-devPHP &gt;=8.3

### 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 (65 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (4 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

[drush/drush

Drush is a command line shell and scripting interface for Drupal, a veritable Swiss Army knife designed to make life easier for those of us who spend some of our working hours hacking away at the command prompt.

2.4k60.6M804](/packages/drush-drush)[pantheon-systems/terminus

A command line interface for Pantheon

3391.5M18](/packages/pantheon-systems-terminus)[edgedesign/phpqa

Analyze PHP code with one command.

5661.1M24](/packages/edgedesign-phpqa)[codeception/robo-paracept

Codeception Parallel Execution Tasks via Robo Task Runner

583.7M1](/packages/codeception-robo-paracept)[oxid-solution-catalysts/paypal-module

OXID eSales PayPal payment module for OXID

2231.8k](/packages/oxid-solution-catalysts-paypal-module)

PHPackages © 2026

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