PHPackages                             corpsee/php-censor - 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. corpsee/php-censor

Abandoned → [php-censor/php-censor](/?search=php-censor%2Fphp-censor)Application[Testing &amp; Quality](/categories/testing)

corpsee/php-censor
==================

PHP Censor is a open source self-hosted continuous integration server for PHP projects (PHPCI fork).

2.0.7(4y ago)686281143[23 issues](https://github.com/corpsee/php-censor/issues)BSD-2-ClausePHPPHP &gt;=7.4.0CI passing

Since Jan 4Pushed 11mo ago27 watchersCompare

[ Source](https://github.com/corpsee/php-censor)[ Packagist](https://packagist.org/packages/corpsee/php-censor)[ Docs](http://php-censor.info)[ RSS](/packages/corpsee-php-censor/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (10)Dependencies (35)Versions (91)Used By (0)

[![Minimum PHP version: 7.4.0](https://camo.githubusercontent.com/cebdb51196aa5a643d531051766688899c9f90e9adc94a3447bb805109a88ba0/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d372e342e302532422d626c75652e7376673f6c6162656c3d504850)](https://packagist.org/packages/php-censor/php-censor)[![Actions](https://github.com/php-censor/php-censor/actions/workflows/ci.yaml/badge.svg)](https://github.com/php-censor/php-censor/actions)[![PHP Censor](https://camo.githubusercontent.com/91c10ff5f2549295899ae22476fb5ec6505be37a75d582c53d6b423d6f663bd2/687474703a2f2f63692e7068702d63656e736f722e696e666f2f6275696c642d7374617475732f696d6167652f323f6272616e63683d6d6173746572266c6162656c3d50485025323043656e736f72)](http://ci.php-censor.info/build-status/view/2?branch=master)[![Codecov](https://camo.githubusercontent.com/2051a8b81e0403943b200adc6efdf653e19f12b57f3f509e04263f1d22dfb006/68747470733a2f2f636f6465636f762e696f2f67682f7068702d63656e736f722f7068702d63656e736f722f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/php-censor/php-censor)[![Latest Version](https://camo.githubusercontent.com/16f46d234a1121bc98f60fb26609b43a3fc726182920e455f8d0dc4df2b3022f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7068702d63656e736f722f7068702d63656e736f722e7376673f6c6162656c3d56657273696f6e)](https://packagist.org/packages/php-censor/php-censor)[![Total downloads](https://camo.githubusercontent.com/123fc6a5c4be5dcec103edeb2f0e4a97e2d05a9bbd612e897ca1f2ced55a5338/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7068702d63656e736f722f7068702d63656e736f722e7376673f6c6162656c3d446f776e6c6f616473)](https://packagist.org/packages/php-censor/php-censor)[![License](https://camo.githubusercontent.com/1329ae25095861caa37ab369109f9494e20c06d8c6c487a2285ce397eb15efe7/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f7068702d63656e736f722f7068702d63656e736f722e7376673f6c6162656c3d4c6963656e7365)](https://packagist.org/packages/php-censor/php-censor)

 [![PHP Censor](docs/images/php-censor-black.png)](docs/images/php-censor-black.png)

**PHP Censor** is an open source, self-hosted, continuous integration server for PHP projects ([PHPCI](https://github.com/dancryer/PHPCI) fork). [Official twitter @php\_censor](https://twitter.com/php_censor).

PHP Censor versions:

VersionLatestBranchStatusMinimal PHP Version`1.0` (Morty Smith)`1.0.16``release-1.0`Old version (**UNSUPPORTED**)`>=5.6, =5.6, =5.6, =5.6, =7.4``2.1` (Mr. Meeseeks)`2.1.6``release-2.1`Current stable version`>=7.4``2.2`WIP`master`Feature minor version (WIP)`>=7.4`[![Dashboard](docs/screenshots/dashboard.png)](docs/screenshots/dashboard.png)

More [screenshots](docs/en/screenshots.md).

- [System requirements](#system-requirements)
- [Features](#features)
- [Changelog](#changelog)
- [Roadmap](#roadmap)
- [Installing](#installing)
- [Updating](#updating)
- [Configuring project](#configuring-project)
- [Migrations](#migrations)
- [Code style](#code-style)
- [Tests](#tests)
- [Documentation](#documentation)
- [License](#license)

System requirements
-------------------

[](#system-requirements)

- Unix-like OS (**Windows isn't supported**);
- PHP 7.4+ (with OpenSSL support and enabled functions: `exec()`, `shell_exec()` and `proc_open()`);
- Web-server (Nginx or Apache2);
- Database (MySQL/MariaDB or PostgreSQL);
- Beanstalkd queue;

Features
--------

[](#features)

- Clone project from [GitHub](docs/en/sources/github.md), [Bitbucket](docs/en/sources/bitbucket.md) (Git/Hg), [GitLab](docs/en/sources/gitlab.md), [Git](docs/en/sources/git.md), Hg (Mercurial), SVN (Subversion) or from local directory;
- Set up and tear down database tests for [PostgreSQL](docs/en/plugins/pgsql.md), [MySQL](docs/en/plugins/mysql.md) or [SQLite](docs/en/plugins/sqlite.md);
- Install [Composer](docs/en/plugins/composer.md) dependencies;
- Run tests for PHPUnit, Atoum, Behat, Codeception and PHPSpec;
- Check code via Lint, PHPParallelLint, Pdepend, PHPCodeSniffer, PHPCpd, PHPCsFixer, PHPDocblockChecker, PHPLoc, PHPMessDetector, PHPTalLint and TechnicalDebt;
- Run through any combination of the other [supported plugins](docs/en/README.md#plugins), including Campfire, CleanBuild, CopyBuild, Deployer, Env, Git, Grunt, Gulp, PackageBuild, Phar, Phing, Shell and Wipe;
- Send notifications to Email, XMPP, Slack, IRC, Flowdock and [Telegram](docs/en/plugins/telegram_notify.md);
- Use your LDAP-server for authentication;

Changelog
---------

[](#changelog)

[Versions changelog](CHANGELOG.md).

Roadmap
-------

[](#roadmap)

See [milestones](https://github.com/php-censor/php-censor/milestones).

Installing
----------

[](#installing)

See [Installing](docs/en/installing.md) section in documentation;

Updating
--------

[](#updating)

See [Updating](docs/en/updating.md) section in documentation;

Configuring project
-------------------

[](#configuring-project)

There are several ways to set up the project:

- Add project without any project config (Runs "zero-config" plugins, including: Composer, TechnicalDebt, PHPLoc, PHPCpd, PHPCodeSniffer, PHPMessDetector, PHPDocblockChecker, PHPParallelLint, PHPUnit and Codeception);
- Similar to [Travis CI](https://travis-ci.org), to support PHP Censor in your project, you simply need to add a `.php-censor.yml` file to the root of your repository;
- Add project config in PHP Censor project page (And it will cancel file config from project repository);

The project config should look something like this:

```
setup:
  composer:
    action:    "install"
    directory: "."
test:
  php_unit:
    config: "phpunit.xml"
  php_mess_detector:
    allow_failures: true
  php_code_sniffer:
    standard: "PSR2"
  php_cpd:
    allow_failures: true
complete:
  email_notify:
    default_mailto_address: admin@php-censor.local
```

More details about [configuring project](docs/en/configuring_project.md) in documentation.

Migrations
----------

[](#migrations)

Run to apply latest migrations:

```
cd /path/to/php-censor
./bin/console php-censor-migrations:migrate
```

Run to create a new migration:

```
cd /path/to/php-censor
./bin/console php-censor-migrations:create NewMigrationName
```

Code style
----------

[](#code-style)

```
cd /path/to/php-censor

./vendor/bin/php-cs-fixer fix --allow-risky=yes
```

Tests
-----

[](#tests)

```
cd /path/to/php-censor

./vendor/bin/phpunit --configuration ./phpunit.xml.dist --coverage-html ./tests/runtime/coverage -vvv --colors=always
```

For Phar plugin tests set `phar.readonly` setting to Off (`0`) in `php.ini` config. Otherwise the tests will be skipped.

For database tests create an empty databases on 'localhost' with user/password for MySQL/PostgreSQL and set env variables from `phpunit.xml.dist` config. For example:

```
#!/usr/bin/env bash

psql --username="test" --host="127.0.0.1" --echo-all --command="DROP DATABASE IF EXISTS \"php-censor-test\";"
psql --username="test" --host="127.0.0.1" --echo-all --command="CREATE DATABASE \"php-censor-test\";"

mysql --user="test" --password="test" --host="127.0.0.1" --verbose --execute="CREATE DATABASE IF NOT EXISTS \`php-censor-test\`;"

export SKIP_DB_TESTS=0;\
export POSTGRESQL_DBNAME=php-censor-test;\
export POSTGRESQL_USER=test;\
export POSTGRESQL_PASSWORD=test;\
export MYSQL_DBNAME=php-censor-test;\
export MYSQL_USER=test;\
export MYSQL_PASSWORD=test;\
vendor/bin/phpunit --configuration=phpunit.xml.dist --verbose
```

Documentation
-------------

[](#documentation)

[Full PHP Censor documentation](docs/en/README.md).

License
-------

[](#license)

PHP Censor is open source software licensed under the [BSD-2-Clause license](LICENSE).

###  Health Score

49

—

FairBetter than 95% of packages

Maintenance37

Infrequent updates — may be unmaintained

Popularity36

Limited adoption so far

Community33

Small or concentrated contributor base

Maturity79

Established project with proven stability

 Bus Factor1

Top contributor holds 70.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 ~26 days

Recently: every ~37 days

Total

70

Last Release

1576d ago

Major Versions

1.3.3 → 2.0.32021-04-20

1.3.4 → 2.0.42021-06-12

1.3.5 → 2.0.52021-08-22

1.3.6 → 2.0.62021-12-19

1.3.7 → 2.0.72022-01-19

PHP version history (4 changes)0.1.0PHP &gt;=5.4.0

0.2.0PHP &gt;=5.6.0

1.3.0PHP &gt;=5.6.0, &lt; 8.0.0

2.0.0PHP &gt;=7.4.0

### Community

Maintainers

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

---

Top Contributors

[![corpsee](https://avatars.githubusercontent.com/u/1416706?v=4)](https://github.com/corpsee "corpsee (1757 commits)")[![meadsteve](https://avatars.githubusercontent.com/u/1663120?v=4)](https://github.com/meadsteve "meadsteve (151 commits)")[![dancryer](https://avatars.githubusercontent.com/u/35393?v=4)](https://github.com/dancryer "dancryer (141 commits)")[![SimonHeimberg](https://avatars.githubusercontent.com/u/16302148?v=4)](https://github.com/SimonHeimberg "SimonHeimberg (47 commits)")[![KieranFYI](https://avatars.githubusercontent.com/u/679994?v=4)](https://github.com/KieranFYI "KieranFYI (44 commits)")[![ss-gxp](https://avatars.githubusercontent.com/u/26460289?v=4)](https://github.com/ss-gxp "ss-gxp (30 commits)")[![Adirelle](https://avatars.githubusercontent.com/u/24633?v=4)](https://github.com/Adirelle "Adirelle (29 commits)")[![REBELinBLUE](https://avatars.githubusercontent.com/u/2143908?v=4)](https://github.com/REBELinBLUE "REBELinBLUE (27 commits)")[![mavimo](https://avatars.githubusercontent.com/u/43941?v=4)](https://github.com/mavimo "mavimo (23 commits)")[![kamermans](https://avatars.githubusercontent.com/u/266265?v=4)](https://github.com/kamermans "kamermans (22 commits)")[![mikebronner](https://avatars.githubusercontent.com/u/1791050?v=4)](https://github.com/mikebronner "mikebronner (20 commits)")[![caouecs](https://avatars.githubusercontent.com/u/447849?v=4)](https://github.com/caouecs "caouecs (19 commits)")[![panosru](https://avatars.githubusercontent.com/u/400362?v=4)](https://github.com/panosru "panosru (15 commits)")[![StudioMaX](https://avatars.githubusercontent.com/u/9878458?v=4)](https://github.com/StudioMaX "StudioMaX (14 commits)")[![MarkMaldaba](https://avatars.githubusercontent.com/u/1492120?v=4)](https://github.com/MarkMaldaba "MarkMaldaba (12 commits)")[![Ultra9](https://avatars.githubusercontent.com/u/5250413?v=4)](https://github.com/Ultra9 "Ultra9 (12 commits)")[![jwmwalrus](https://avatars.githubusercontent.com/u/17171694?v=4)](https://github.com/jwmwalrus "jwmwalrus (10 commits)")[![vinpel](https://avatars.githubusercontent.com/u/1699839?v=4)](https://github.com/vinpel "vinpel (10 commits)")[![freez10](https://avatars.githubusercontent.com/u/1759462?v=4)](https://github.com/freez10 "freez10 (10 commits)")[![lugark](https://avatars.githubusercontent.com/u/17928620?v=4)](https://github.com/lugark "lugark (9 commits)")

---

Tags

cicontinuous-integrationdatabase-testinghacktoberfestphpphp-censorphpcensorphpciself-hostedtestingunit-testingphptestingcontinuous integrationciopen-sourcephpciself hostedphp-censorci-server

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/corpsee-php-censor/health.svg)

```
[![Health](https://phpackages.com/badges/corpsee-php-censor/health.svg)](https://phpackages.com/packages/corpsee-php-censor)
```

###  Alternatives

[ec-cube/ec-cube

EC-CUBE EC open platform.

78527.0k1](/packages/ec-cube-ec-cube)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[silverstripe/framework

The SilverStripe framework

7213.5M2.5k](/packages/silverstripe-framework)[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M651](/packages/sylius-sylius)[drupal/core

Drupal is an open source content management platform powering millions of websites and applications.

19462.3M1.3k](/packages/drupal-core)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M152](/packages/sulu-sulu)

PHPackages © 2026

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