Download the PHP package erp-mgroen/php-censor without Composer
On this page you can find all versions of the php package erp-mgroen/php-censor. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download erp-mgroen/php-censor
More information about erp-mgroen/php-censor
Files in erp-mgroen/php-censor
Package php-censor
Short Description PHP Censor is a open source self-hosted continuous integration server for PHP projects (PHPCI fork).
License BSD-2-Clause
Homepage http://php-censor.info
Informations about the package php-censor
PHP Censor is a open source self-hosted continuous integration server for PHP projects (PHPCI fork).
More screenshots.
- System requirements
- Features
- Installing
- Installing via Docker
- Updating
- Configuring project
- Migrations
- Tests
- Documentation
- License
System requirements
-
Unix-like OS (Windows isn't supported);
-
PHP 5.6+ (with OpenSSL support and enabled functions:
exec()
,shell_exec()
andproc_open()
); -
Web-server (Nginx or Apache2);
-
Database (MySQL/MariaDB or PostgreSQL);
- Beanstalkd queue (Optional);
Features
-
Clone project from Github, Bitbucket, Gitlab, Git, Mercurial, SVN or from local directory;
-
Set up and tear down database tests for MySQL or SQLite;
-
Install Composer dependencies;
-
Run tests for PHPUnit, Atoum, Behat, Codeception and PHPSpec;
-
Check code via Lint, PHPParallelLint, Pdepend, PHPCodeSniffer, PHPCpd, PHPCsFixer, PHPDocblockChecker, PHPLoc, PHPMessDetect, PHPTalLint and TechnicalDept;
-
Run through any combination of the other supported plugins, including Campfire, CleanBuild, CopyBuild, Deployer, Env, Git, Grunt, Gulp, PackageBuild, Phar, Phing, Shell and Wipe;
-
Send notifications on Email, XMPP, Slack, IRC, Flowdock, HipChat and Telegram;
- Use your LDAP-server for authentication;
Installing
-
Go to the directory in which you want to install PHP Censor, for example:
/var/www
: - Create project by Composer:
Or download latest archive from Github, unzip it and run
composer install
.
-
Create empty database for application (Mysql/MariaDB or Postgres);
-
Install Beanstalkd Queue (Optional, if you are going to use queue with Worker):
-
Install PHP Censor itself:
-
Add a virtual host to your web server, pointing to the
public
directory within your new PHP Censor directory. You'll need to set up rewrite rules to point all non-existent requests to PHP Censor; - Set up the PHP Censor Worker (Need configured Queue) or a cron-job to run PHP Censor builds;
Installing via Docker
If you want to install PHP Censor as Docker container, you can use php-censor/docker-php-censor project.
Updating
-
Go to your PHP Censor directory (to
/var/www/php-censor.local
for example): -
Pull the latest code from repository by Git (If you want latest
master
branch):Or pull latest version:
-
Update the Composer dependencies:
composer install
-
Update the database scheme:
-
Restart Supervisord workers (If you use workers and Supervisord):
Or restart Systemd workers (If you use workers and Systemd):
Configuring project
There are several ways to set up the project:
-
Add project without any project config (Runs "zero-config" plugins, including: Composer, TechnicalDept, PHPLoc, PHPCpd, PHPCodeSniffer, PHPMessDetect, PHPDocblockChecker, PHPParallelLint, PHPUnit and Codeception);
-
Similar to Travis CI, to support PHP Censor in your project, you simply need to add a
.php-censor.yml
(phpci.yml
/.phpci.yml
for backward compatibility with PHPCI) 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:
More details about configuring project.
Migrations
Run to apply latest migrations:
Run to create new migration:
Tests
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' database on 'localhost' with user/password: root/<empty>'
for MySQL and with user/password: postgres/<empty>'
for PostgreSQL (You can change default test user, password and
database name in phpunit.mysql|pgsql.xml
config). If connection failed tests will be skipped.
Documentation
Full PHP Censor documentation.
License
PHP Censor is open source software licensed under the BSD-2-Clause license.
All versions of php-censor with dependencies
ext-openssl Version *
ext-pdo Version *
ext-json Version *
ext-xml Version *
ext-curl Version *
swiftmailer/swiftmailer Version 5.4.*
symfony/yaml Version 3.3.*
symfony/console Version 3.3.*
psr/log Version 1.0.*
monolog/monolog Version 1.22.*
pimple/pimple Version 3.0.*
robmorgan/phinx Version 0.8.*
sensiolabs/ansi-to-html Version 1.1.*
pda/pheanstalk Version 3.1.*
guzzlehttp/guzzle Version 6.2.*
phpunit/phpunit Version 5.7.*
codeception/codeception Version 2.3.*
phpmd/phpmd Version 2.6.*
sebastian/phpcpd Version 2.0.*
squizlabs/php_codesniffer Version 2.8.*
block8/php-docblock-checker Version 1.3.*
phploc/phploc Version 4.0.*
jakub-onderka/php-parallel-lint Version 0.9.*
sensiolabs/security-checker Version 4.0.*
doctrine/instantiator Version 1.0.*
phpunit/php-token-stream Version 1.4.*
mnsami/composer-custom-directory-installer Version 1.1.*
npm-asset/sprintf-js Version 1.0.*
npm-asset/codemirror Version 5.23.*
bower-asset/admin-lte Version 2.3.*
bower-asset/font-awesome Version 4.7.*
bower-asset/ionicons Version 2.0.*
bower-asset/raphael Version 2.2.*