PHPackages                             redcode/deploy - 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. redcode/deploy

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

redcode/deploy
==============

Easy deploy script for php-based projects

1.0.1(11y ago)0108MITPHPPHP &gt;=5.4.0

Since Apr 2Pushed 10y ago1 watchersCompare

[ Source](https://github.com/maZahaca/redcode-deploy)[ Packagist](https://packagist.org/packages/redcode/deploy)[ RSS](/packages/redcode-deploy/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (2)Dependencies (5)Versions (5)Used By (0)

Deploy script
=============

[](#deploy-script)

This library provides simple way to deploy php-based application to different environments.

Installation
------------

[](#installation)

- Add to you composer.json file the line:

```
"redcode/deploy": "1.0.*",
```

- Update composer with command:

```
composer update redcode/deploy
```

Configuration
-------------

[](#configuration)

After installation process you have to spend some time with configuration. Application allow configurations files in yml and json format.

Add config.yml into your project folder:

```
package:
    include: "./app ./src ./web" # files which will be included to the package
    exclude: ".git" # files which will be excluded from the package
version: "vcs" # "vcs" - for getting from GIT, or any different for put as it
version-strategy: "merged" # (this option make sense only if version set to "vcs") set to "tag" for getting version from the nearest tag, set to "branch" for getting from branch.
environment: # at least one environment must be set
    dev:
        name: "dev" #
        host: "hostname" # hostname of the server
        path: "/var/www/website" # the location of the project on the server
    prod:
        name: "prod"
        host: "hostname2"
        path: "/var/www/website"
command:
    local: # commands for executing on a local machine
        before: # before creating the package
            - "any command line to execute"
        after: # after creating the package
            - "any command line to execute"
    server: # commands for executing on a server
        before: # before build extracting
            - "any command line to execute"
        after: # after build extracting
            - "any command line to execute"
```

Usage
-----

[](#usage)

```
cd project/path
bin/deploy
```

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 100% 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 ~152 days

Total

4

Last Release

4016d ago

Major Versions

0.1.0 → 1.0.x-dev2014-12-25

0.1.1 → 1.0.12015-07-02

PHP version history (2 changes)0.1.0PHP &gt;=5.3.3

1.0.x-devPHP &gt;=5.4.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1290067?v=4)[Andrew Red](/maintainers/maZahaca)[@maZahaca](https://github.com/maZahaca)

---

Top Contributors

[![maZahaca](https://avatars.githubusercontent.com/u/1290067?v=4)](https://github.com/maZahaca "maZahaca (20 commits)")

---

Tags

phptarunixenvironmentgitdeployprojectbuildvcs

### Embed Badge

![Health badge](/badges/redcode-deploy/health.svg)

```
[![Health](https://phpackages.com/badges/redcode-deploy/health.svg)](https://phpackages.com/packages/redcode-deploy)
```

###  Alternatives

[friendsoftypo3/content-blocks

TYPO3 CMS Content Blocks - Content Types API | Define reusable components via YAML

101466.4k45](/packages/friendsoftypo3-content-blocks)[wsdltophp/packagegenerator

Generate hierarchical PHP classes based on a WSDL

4352.0M21](/packages/wsdltophp-packagegenerator)[aeliot/todo-registrar

Register TODOs from source code in issue tracker

153.0k](/packages/aeliot-todo-registrar)[brunodebarros/git-deploy-php

git-deploy-php is a simple php-based tool that deploys your Git repositories to FTP/SFTP servers, and keeps them updated automatically.

2931.2k](/packages/brunodebarros-git-deploy-php)

PHPackages © 2026

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