Go to file
2017-01-04 19:22:20 +07:00
app Added custom console Application class with migrations 2016-12-30 23:40:14 +07:00
bin Added custom console Application class with migrations 2016-12-30 23:40:14 +07:00
docs Fixed headlines in docs 2017-01-04 19:22:20 +07:00
public Fixed PHP Censor theme 2017-01-04 17:53:48 +07:00
runtime Refactored structure 2016-06-23 21:18:41 +06:00
src Fixed PHP Censor theme 2017-01-04 17:53:48 +07:00
tests Fixed tests 2017-01-04 15:16:20 +07:00
.gitignore Fixes 2016-12-24 17:51:54 +07:00
.phpci.yml Fixed configs 2016-06-23 21:28:15 +06:00
bootstrap.php Fixed naming (phpci -> php-censor) 2016-07-21 23:02:11 +06:00
composer.json Updated assets (AdminLTE2) 2016-07-23 10:50:03 +06:00
composer.lock Updated dependencies 2016-12-25 00:38:06 +07:00
LICENSE.md Fixed naming (PHPCI -> PHP Censor) 2016-07-19 22:35:21 +06:00
phpcs.xml Fixed namespaces (PHPCI -> PHPCensor) 2016-07-20 18:27:32 +06:00
phpmd.xml Fixed naming (PHPCI -> PHP Censor) 2016-07-19 22:35:21 +06:00
phpunit.xml Fixed tests 2017-01-04 15:16:20 +07:00
README.md Fixed headlines in docs 2017-01-04 19:22:20 +07:00

PHP Censor

PHP Censor is a fork of PHPCI (And B8Framework) and is a free and open source (BSD-2-Clause license) continuous integration tool specifically designed for PHP. We've built it with simplicity in mind, so whilst it doesn't do everything Jenkins can do, it is a breeze to set up and use.

What it does

  • Clones your project from Github, Bitbucket or a local path
  • Allows you to set up and tear down test databases.
  • Installs your project's Composer dependencies.
  • Runs through any combination of the supported plugins).
  • You can mark directories for the plugins to ignore.
  • You can mark certain plugins as being allowed to fail (but still run.)

What it doesn't do (yet)

  • Virtualised testing.
  • Multiple PHP-version tests.

Screenshots

Dashboard

Project

Build log

Build errors

Build information

Tests

cd /path/to/php-censor
./vendor/bin/phpunit

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

For database B8Framework tests create empty 'b8_test' MySQL database on 'localhost' with user/password: root/root. Otherwise database tests will be skipped.

Migrations

Run to apply latest migrations:

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

Run to create new migration:

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

Documentation

PHP Censor documentation

License

PHP Censor is open source software licensed under the BSD-2-Clause license.