PHPackages                             plotbox-io/phpcs-parse - 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. plotbox-io/phpcs-parse

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

plotbox-io/phpcs-parse
======================

Parse phpcs (Code Sniffer) output and re-output in alternate formats

v0.1.3(6y ago)01.3k—5.6%MITPHPPHP &gt;=5.5CI failing

Since Apr 3Pushed 6y ago1 watchersCompare

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

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

phpcs-parse
===========

[](#phpcs-parse)

Parse phpcs (Code Sniffer) output into standardised dto and allow re-output in several formats

**NOTE: Currently in early stage of development (Potentially subject to breaking changes)**

Why ??
------

[](#why-)

By parsing the result of phpcs commands, we can do advanced filtering or alter the contents before re-outputting the results. The main use case is for implementing a 'shim' where you might want to filter out some style violations (e.g., if the lines of code have not been touched on the current branch)

Example Usage
-------------

[](#example-usage)

#### Convert from CSV to JSON

[](#convert-from-csv-to-json)

```
$converter = new Converter();
$csvIssuesString = file_get_contents(__DIR__ . '/phpcs-csv-example.txt');
$json = $converter->convert($csvIssuesString, 'csv', 'json');

```

### Supported Conversions

[](#supported-conversions)

TypeRead InputGen OutputcsvYESNOxmlNOYESjsonYESYEShumanNOYESNote: Human format is a special report format, not actually used by code sniffer (although somewhat similar to the default mode) that can be used to make output for a CI server or developer tool (supports output only)

Contributing
------------

[](#contributing)

Please read \[CONTRIBUTING.md\] for details on our code of conduct, and the process for submitting pull requests to us.

Versioning
----------

[](#versioning)

We use [SemVer](http://semver.org/) for versioning. For the versions available, see the [tags on this repository](https://github.com/your/project/tags).

License
-------

[](#license)

This project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for details

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity44

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~0 days

Total

4

Last Release

2236d ago

PHP version history (2 changes)v0.1.0PHP &gt;=5.6

v0.1.3PHP &gt;=5.5

### Community

Maintainers

![](https://www.gravatar.com/avatar/01d3c8e75a243c1a4342e300c3c1d809f7ffbd66e15f64501374def880417798?d=identicon)[plotbox-io](/maintainers/plotbox-io)

---

Top Contributors

[![plotbox-io](https://avatars.githubusercontent.com/u/62928171?v=4)](https://github.com/plotbox-io "plotbox-io (7 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/plotbox-io-phpcs-parse/health.svg)

```
[![Health](https://phpackages.com/badges/plotbox-io-phpcs-parse/health.svg)](https://phpackages.com/packages/plotbox-io-phpcs-parse)
```

###  Alternatives

[christophrumpel/laravel-factories-reloaded

This package sits on top of Laravel factories and provides you with dedicated factory classes for every model.

38147.7k](/packages/christophrumpel-laravel-factories-reloaded)[antonrom00/laravel-model-changes-history

Model changes history for laravel

5320.5k](/packages/antonrom00-laravel-model-changes-history)[riverskies/laravel-newsletter-subscription

Simple newsletter subscription for Laravel projects.

161.3k](/packages/riverskies-laravel-newsletter-subscription)

PHPackages © 2026

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