Page:
custom plugins setup
Pages
Add a Virtual Host
Adding PHPCI Support to Your Projects
Atoum Plugin
Autobuilding from Atlassian Stash
Autobuilding from Git by Cron
Autobuilding From Git
Autobuilding From GitHub
Autobuilding From GitLab
Autobuilding from Bitbucket
Behat plugin
Campfire plugin
Clean build plugin
Codeception plugin
Composer plugin
Configuring PHPCI
Contributing to PHPCI
Copy build plugin
Deployer
Email plugin
Env plugin
Example phpci.yml
Grunt plugin
Hipchat Notify Plugin
Home
Installing PHPCI
Interpolation
Irc plugin
Lint plugin
Logging
Maintainers
MySQL plugin
PHP Code Sniffer plugin
PHP Coding Standards Fixer plugin
PHP Docblock Checker
PHPCI Config
Package build plugin
Pdepend plugin
Phar Plugin
Phing Plugin
Php copy paste detector plugin
Php loc plugin
Php mess detector plugin
Php parallel lint plugin
Php spec plugin
PhpUnit Plugin
Postgresql plugin
Project Status Images and Page
Run Builds Using Cron
Run Builds Using a Daemon
Run Builds Using a Worker
Shell plugin
Slack Notify Plugin
Technical Debt Plugin
Updating PHPCI
Vanilla Installation on OS X 10.10 Yosemite with OS X Server 4
Vanilla Mac Mavericks Server Installation Guide
XMPP notifications plugin
custom plugins setup
1
custom plugins setup
Steve B edited this page 2014-05-12 12:51:00 -07:00
Table of Contents
Installation
Installing 3rd party plugins is straight forward and handled through composer. In the root folder of your phpci instance update the composer.json
file to include the new plugins you require:
"require": {
\\...
"meadsteve/example-phpci-plugin" : "dev-master",
\\...
}
running composer update plugin-provider/plugin-package
will then download the plugin.
Usage
Once a new plugin has been installed to phpci any project can make use of this plugin. The plugin is referenced in the phpci.yml
as a full class name including namespaces:
setup:
test:
php_mess_detector:
allowed_warnings: 0
\meadsteve\PhpciPlugins\ExamplePlugin:
option_one: 2
Extra dependency configuration
//TODO: document pluginconfig.php
in project root.