transactpro / phpci-deployer-org
PHPCI Plugin for deployer.org integration
Installs: 46
Dependents: 0
Suggesters: 0
Security: 0
Stars: 6
Watchers: 5
Forks: 0
Open Issues: 0
pkg:composer/transactpro/phpci-deployer-org
This package is not auto-updated.
Last update: 2025-09-28 00:40:06 UTC
README
###PHPCI Plugin for deployer.org integration
Prerequisites
- Up and running
deployer.org
tooldep
and endpoint configuration done like in docs. (You can get it here)
Install
First of all - composer require transactpro/phpci-deployer-org
To avoid any security problems, this plugin stores three different recipe parts:
common.deploy.php
- some predefinitions. In other words, just extending defaultrecipe/common.php
.project.deploy.php
- main deploy configuration. You can store here even server credentials (pure password or ssh-key password).deploy.php
- rest part of deploy configuration. Mainly used for defining writable/shared directories.
Usage
Let's store recipe parts:
common.deploy.php
=>/var/www/deploy/recipes/common.deploy.php
project.deploy.php
=>/var/www/deploy/recipes/project.deploy.php
deploy.php
=>/your/project/root/deploy.php
========================
phpci.yml
example:
build_settings: verbose: true success: deployer: master: stage: prod file: /var/www/deploy/recipes/project.deploy.php
That's all folks!
=========================================
TODO
I'm planning to add wildcard for branches, so we can deploy master to production, bugfixes to staging and features to test/staging environments.