PHPackages                             hippophp/hippo - 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. hippophp/hippo

AbandonedArchivedLibrary[Testing &amp; Quality](/categories/testing)

hippophp/hippo
==============

Hippo is an open-source tool that helps PHP programmers adhere to certain a given convention.

v0.1.0(10y ago)81321[3 issues](https://github.com/HippoPHP/Hippo/issues)[1 PRs](https://github.com/HippoPHP/Hippo/pulls)MITPHPPHP &gt;=5.5.9

Since Nov 10Pushed 8y ago4 watchersCompare

[ Source](https://github.com/HippoPHP/Hippo)[ Packagist](https://packagist.org/packages/hippophp/hippo)[ Docs](https://github.com/HippoPHP/Hippo)[ RSS](/packages/hippophp-hippo/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (4)Versions (5)Used By (0)

Hippo
=====

[](#hippo)

[![StyleCI](https://camo.githubusercontent.com/027b890a84db8cdb7eab254f23e829cdc80579c700464cac849078c8752ac1e0/68747470733a2f2f7374796c6563692e696f2f7265706f732f32353938323830392f736869656c64)](https://styleci.io/repos/25982809)[![Build Status](https://camo.githubusercontent.com/4d6d5a3cb21f5408786a4f3f10e87eddd4d78467713536c618b35736b49a1313/687474703a2f2f696d672e736869656c64732e696f2f7472617669732f486970706f5048502f486970706f2e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/HippoPHP/Hippo)[![Code Climate](https://camo.githubusercontent.com/493ac7b25ed8c1dceb03d84f02b65c96fdf6f498e3c84de7d1a4d40c746cbece/687474703a2f2f696d672e736869656c64732e696f2f636f6465636c696d6174652f6769746875622f486970706f5048502f486970706f2e7376673f7374796c653d666c61742d737175617265)](https://codeclimate.com/github/HippoPHP/Hippo)[![Test Coverage](https://camo.githubusercontent.com/51b4d05902fda2442ffc92fb3d7c4a6fb7dfcaaa5582682aa6a4758dad7a7128/687474703a2f2f696d672e736869656c64732e696f2f636f6465636c696d6174652f636f7665726167652f6769746875622f486970706f5048502f486970706f2e7376673f7374796c653d666c61742d737175617265)](https://codeclimate.com/github/HippoPHP/Hippo)[![Dependencies](https://camo.githubusercontent.com/786e6d50bdae4ae7540c80a7bcb0898149ec4c73ca183241091ef88992a18a25/687474703a2f2f7777772e76657273696f6e6579652e636f6d2f757365722f70726f6a656374732f3534356465363039656238646632643362343030303035312f62616467652e7376673f7374796c653d666c61742d737175617265)](http://www.versioneye.com/user/projects/545de609eb8df2d3b4000051)

Installation &amp; Usage
------------------------

[](#installation--usage)

Either [PHP](https://php.net) 5.5+ or [HHVM](http://hhvm.com) 3.6+ are required.

To get the latest version of Hippo, simply require the project using [Composer](https://getcomposer.org):

```
$ composer require hippophp/hippo
```

If you want to develop Hippo, you'll need [Git](http://git-scm.org) and &gt;= PHP 5.5 installed on your system.

Clone the repo to your local environment:

```
$ git clone git@github.com:hippophp/hippo.git
```

Then install the dependencies:

```
$ cd hippo
$ composer install
```

### Usage

[](#usage)

Once Hippo is in a directory you can run it with:

```
$ ./bin/hippo ./src
```

By default Hippo will output everything to `STDOUT`. You can get help information with:

```
$ ./bin/hippo --help
Hippo 0.1.0 by James Brooks, Marcin Kurczewski

Usage: hippo [switches]
  -h, --help                Prints this usage information
  -v, --version             Print version information
  -l, --log LOGLEVELS       Sets which severity levels should be logged
                            (default: "info,warning,error")
  -s, --strict 1|0          Enables or disables strict mode (default: 0)
                            Strict mode will exit with code 1 on any violation.
  -q, --quiet 1|0           Same as --log ""
      --verbose 1|0         Same as --log "info,warning,error"
  -c, --config PATH         Use specific config (default: "base")
  --report-xml PATH         Output a Checkstyle-compatible XML to PATH

Available configs:
  - base
  - PEAR
  - PGS-2
  - PSR-1
  - PSR-2
```

Tests
-----

[](#tests)

We've built a test system against Hippo. Tests are ran on Travis CI for every pull request which is made.

About
-----

[](#about)

Hippo originally started life as a fork of [PHPCheckstyle](https://github.com/phpcheckstyle/phpcheckstyle), however after realising that a complete rewrite would be needed, the core ideas changed and as such, Hippo was born.

Hippo is an open-source tool that helps PHP programmers adhere to certain coding conventions. The tools checks the input PHP source code and reports any violations against the given standards.

Compatible with PHP 5.5 and up.

Goals
-----

[](#goals)

- Create a proper test suite.
- Checks should be able to implement different kind of check types, giving more freedom on a per-check basis.
- Integrate PHP-Parser for AST. Checks can extend some kind of AST Node Tree class.
- Set default standards to [PSR 2](http://www.php-fig.org/psr/psr-2/).
    - Standards and configurations should be able to be extended.
    - PSR-1
    - PSR-2
    - PGS-2
    - Zend
    - PEAR
- Configuration keys should allow flexibility in the naming pattern, it shouldn't matter so long as it is a valid name.
    - camelCase
    - snake\_case
    - PascalCase
- Run as a binary with console output and as a library.
- Switch to [semver](http://semver.org) versioning.

License
-------

[](#license)

Hippo is licensed under [The MIT License (MIT)](/LICENSE).

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 96.7% 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

Unknown

Total

1

Last Release

3759d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/9e4934b15ff7d8cffabece955994bed29b31429f4c2e8f13fa0868c753bb1c30?d=identicon)[jbrooksuk](/maintainers/jbrooksuk)

---

Top Contributors

[![jbrooksuk](https://avatars.githubusercontent.com/u/246103?v=4)](https://github.com/jbrooksuk "jbrooksuk (356 commits)")[![GrahamCampbell](https://avatars.githubusercontent.com/u/2829600?v=4)](https://github.com/GrahamCampbell "GrahamCampbell (12 commits)")

---

Tags

astcode-qualitycode-stylephptokenizervalidatorstandardtokenizercoding-standardsconventioncheckstyle

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/hippophp-hippo/health.svg)

```
[![Health](https://phpackages.com/badges/hippophp-hippo/health.svg)](https://phpackages.com/packages/hippophp-hippo)
```

###  Alternatives

[behat/behat

Scenario-oriented BDD framework for PHP

4.0k96.8M1.9k](/packages/behat-behat)[dealerdirect/phpcodesniffer-composer-installer

PHP\_CodeSniffer Standards Composer Installer Plugin

596161.9M1.9k](/packages/dealerdirect-phpcodesniffer-composer-installer)[phpcheckstyle/phpcheckstyle

PHPCheckstyle is an open-source tool that helps PHP programmers adhere to certain coding conventions

166184.4k11](/packages/phpcheckstyle-phpcheckstyle)[consistence/coding-standard

Consistence - Coding Standard - PHP Code Sniffer rules

75833.3k93](/packages/consistence-coding-standard)[moodlehq/moodle-cs

Moodle Coding Sniffer rules

242.8M5](/packages/moodlehq-moodle-cs)[jbzoo/ci-report-converter

The tool converts different error reporting standards for deep integration with popular CI systems (TeamCity, IntelliJ IDEA, GitHub Actions, etc)

30784.4k2](/packages/jbzoo-ci-report-converter)

PHPackages © 2026

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