PHPackages                             colours/codebeast - 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. colours/codebeast

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

colours/codebeast
=================

Composer package used to generate git hooks for automating code quality control

12.5kPHP

Since Jul 31Pushed 6y ago3 watchersCompare

[ Source](https://github.com/colours/codebeast)[ Packagist](https://packagist.org/packages/colours/codebeast)[ RSS](/packages/colours-codebeast/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependenciesVersions (1)Used By (0)

codebeast
=========

[](#codebeast)

Purpose
-------

[](#purpose)

Package is used to automate code quality control during the development process and git workflow. It installs dependencies such as: phpcs, phpcbf, phpmd and configures pre-commit git hook according to user preferences. Pre-commit git hook is executed right before the commit is created, thus the code, added to commit is checked against syntax errors, violation of code standards and violation of some structural standards (phpmd).

Usage
-----

[](#usage)

To configure git hook and generate settings file, use following command:

```
vendor/bin/codebeast configure

```

Configure command generates pre-commit.settings file, which can be added to the repository, so every team member have the same settings within the project. Configure command also suggest to install the hook.

To install the hook follow the wizard of 'configure' command or run following:

```
vendor/bin/codebeast install

```

Install command sets the path (absolute) to your vendor folder and creates pre-commit hook file in target .git directory.

Configuration
-------------

[](#configuration)

Package is shipped with phpmd configuration in [minimal.xml](https://github.com/colours/codebeast/blob/master/src/Tools/MD/Config/minimal.xml) file. You can use your own phpmd config, by creating settings file according to [documentation](https://phpmd.org/documentation/creating-a-ruleset.html). Rest of the configuration is done as a part of the wizard process during 'configure' command execution.

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity37

Early-stage or recently created project

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/3e7b23946b8b87e90c8b2c75b452b81283f6ea16857ad735ed2054de6769a1a7?d=identicon)[wdrupal](/maintainers/wdrupal)

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

![](https://avatars.githubusercontent.com/u/1147855?v=4)[Andrey Posudevsky](/maintainers/aposudevsky)[@aposudevsky](https://github.com/aposudevsky)

### Embed Badge

![Health badge](/badges/colours-codebeast/health.svg)

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

###  Alternatives

[dms/phpunit-arraysubset-asserts

This package provides ArraySubset and related asserts once deprecated in PHPUnit 8

14429.2M358](/packages/dms-phpunit-arraysubset-asserts)[phpbenchmark/phpbenchmark

Easy to use benchmark toolkit for your PHP-application. This library contains classes for comparing algorithms as well as benchmarking application responses

8011.5k2](/packages/phpbenchmark-phpbenchmark)

PHPackages © 2026

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