PHPackages                             upassist/phpci-deployer - 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. [DevOps &amp; Deployment](/categories/devops)
4. /
5. upassist/phpci-deployer

ActiveLibrary[DevOps &amp; Deployment](/categories/devops)

upassist/phpci-deployer
=======================

A deployer (http://deployer.org) plugin for PHPCI

1.0.1(6y ago)47871GPL-3.0+PHP

Since Nov 6Pushed 6y ago1 watchersCompare

[ Source](https://github.com/UpAssist/PHPCI-Deployer)[ Packagist](https://packagist.org/packages/upassist/phpci-deployer)[ RSS](/packages/upassist-phpci-deployer/feed)WikiDiscussions master Synced today

READMEChangelog (2)DependenciesVersions (3)Used By (0)

PHPCI-Deployer
==============

[](#phpci-deployer)

Plugin to use deployer () with PHPCI

Configuration (PHPCI)
---------------------

[](#configuration-phpci)

```
complete:
  # Class reference
  \UpAssist\PHPCI\Deployer\Plugin\Deployer:
    # Optional: add a deployFile parameter to point to a specific deploy.php file.
    # It will be copied to the root of your build folder so deployment can run.
    deployFile: 'My/DeploymentScripts/deploy_specific_for_x_type_of_projects.php'

    # Branch 'master'
    master:
      # Stage is optional: else the branchname will be used
      stage: test
      # Required
      server: test.domain.com
      # Required
      user: username
      # Required, no trailing slash
      deploy_path: /var/www/vhosts/test
      # Optional, array
      shared_dirs:
        - 'uploads'
      # Optional, array
      writable_dirs:
        - 'uploads'
    # Branch 'live'
    live:
      # Stage is optional: else the branchname will be used
      stage: production
      # Required
      server: domain.com
      # Required
      user: username
      # Required, no trailing slash
      deploy_path: /var/www/vhosts/production
      # Optional, array
      shared_dirs:
        - 'uploads'
      # Optional, array
      writable_dirs:
        - 'uploads'
```

If a branch is not defined, it will silently ignore the builds from that branch.

Deployer file example
---------------------

[](#deployer-file-example)

```
server(getenv('STAGE'), getenv('SERVER'))
    ->user(getenv('USER'))
    ->env('deploy_path', getenv('DEPLOY_PATH'))
    ->env('branch', getenv('BRANCH'))
    ->env('local_release_path', __DIR__ . '/tmp/release/' . getenv('BUILD'))
    ->env('rsync_src', __DIR__ . '/tmp/release/' . getenv('BUILD'))
    ->env('rsync_dest', '{{release_path}}')
    ->stage(getenv('STAGE'))
    ->identityFile('~/.ssh/id_rsa.pub', '~/.ssh/id_rsa', '');
```

### Variables that are sent as environment variables to the deploy.php

[](#variables-that-are-sent-as-environment-variables-to-the-deployphp)

- STAGE
- SERVER
- USER
- DEPLOY\_PATH
- BRANCH
- BUILD (the build id)
- REPOSITORY
- SHARED\_DIRS
- WRITABLE\_DIRS

###  Health Score

31

—

LowBetter than 66% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 85.7% 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 ~1441 days

Total

2

Last Release

2450d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0644de5e880c5b511c6b1cb1b08c80be5a64afd16d37dd9e633aa32c2d49f4cd?d=identicon)[hphoeksma](/maintainers/hphoeksma)

---

Top Contributors

[![hphoeksma](https://avatars.githubusercontent.com/u/250683?v=4)](https://github.com/hphoeksma "hphoeksma (6 commits)")[![cgi-cgi](https://avatars.githubusercontent.com/u/1552924?v=4)](https://github.com/cgi-cgi "cgi-cgi (1 commits)")

### Embed Badge

![Health badge](/badges/upassist-phpci-deployer/health.svg)

```
[![Health](https://phpackages.com/badges/upassist-phpci-deployer/health.svg)](https://phpackages.com/packages/upassist-phpci-deployer)
```

###  Alternatives

[in2code/in2publish_core

Content publishing extension to connect stage and production server

40143.4k](/packages/in2code-in2publish-core)[tiamo/phpas2

PHPAS2 is a php-based implementation of the EDIINT AS2 standard

4778.9k](/packages/tiamo-phpas2)[wapmorgan/php-rpm-packager

RPM packager for PHP applications.

106.6k](/packages/wapmorgan-php-rpm-packager)

PHPackages © 2026

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