PHPackages                             asticode/php-deployment-manager - 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. asticode/php-deployment-manager

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

asticode/php-deployment-manager
===============================

Deployment manager to enable automatic deployment of PHP or GO projects on your server after a GIT push

v0.0.1(10y ago)271MITPHPPHP &gt;=5.3.0

Since Sep 28Pushed 10y ago2 watchersCompare

[ Source](https://github.com/asticode/php-deployment-manager)[ Packagist](https://packagist.org/packages/asticode/php-deployment-manager)[ Docs](https://github.com/asticode/php-deployment-manager)[ RSS](/packages/asticode-php-deployment-manager/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (6)Versions (2)Used By (0)

Prerequisites
=============

[](#prerequisites)

You must create a UTF-8 database and a user with read/write privileges beforehand

Installation
============

[](#installation)

Install the project with

```
$ composer create-project asticode/php-deployment-manager

```

And follow the instructions on the screen

```
$ To install the manager, you need a valid UTF-8 database as well as a user with read/write privileges on it. Once you have it, please fill in the information below:
$
$ database host [localhost]:
$ database name [deployment]:
$ database user name:
$ database user password:
$ number of backups kept per project [2]:
$ full path to composer binary [/usr/local/bin/composer]:
$ full path to git binary [/usr/bin/git]:
$ full path to php binary [/usr/bin/php]:
$
$ Update local config parameters: OK
$
$ Execute SQL commands: OK
$
$ Create directories: OK
$
$
$ Installation successful!

```

In case of a problem, remove the folder created by composer and re-run the command.

How it works
============

[](#how-it-works)

The deployment manager builds all projects the same way:

```
1. Back up the current project content
2. Create a temp directory
3. Fetch the last version of the project in the temp directory
4. Execute the specific steps of the build handler associated with the project
5. Move the temp dir to the real project dir

```

Therefore, pretty much everything lies in the build handler you choose since it will determine the specific steps taken once the last version of the project has been fetched.

Only one out-of-the-box build handler is delivered with the project: the PHP Handler. Its specific steps are:

```
1. Copy the dist config files
2. Replace the dist parameters

```

Add a custom build handler
==========================

[](#add-a-custom-build-handler)

But what if I want to execute different steps you ask ?

Well nothing is easier! All you have to do is create your own build handler implementing the HandlerInterface in the /src/Service/Build/Handler/Custom folder and more specifically implement a *getSpecificSteps* method that will return the steps *you* want to execute during the deployment.

Once it's done, simply associate it with your project by giving `Custom\\MyAwesomeHandler` to the attribute `handler`of your project.

Create a new project
====================

[](#create-a-new-project)

Add a new project with

```
$ /app/console project:add

```

Remove a project
================

[](#remove-a-project)

Remove a project with

```
$ /app/console project:remove -n  -b

```

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 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

Unknown

Total

1

Last Release

3931d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/4ff600197f59f5f029ec1b620106f60b747298658637ce8c605f8f0fc7fa5245?d=identicon)[asticode](/maintainers/asticode)

---

Top Contributors

[![asticode](https://avatars.githubusercontent.com/u/11619296?v=4)](https://github.com/asticode "asticode (22 commits)")

---

Tags

phpdeploymentgolang

### Embed Badge

![Health badge](/badges/asticode-php-deployment-manager/health.svg)

```
[![Health](https://phpackages.com/badges/asticode-php-deployment-manager/health.svg)](https://phpackages.com/packages/asticode-php-deployment-manager)
```

###  Alternatives

[matomo/matomo

Matomo is the leading Free/Libre open analytics platform

21.7k38.9k](/packages/matomo-matomo)[laravel/framework

The Laravel Framework.

34.8k543.8M20.1k](/packages/laravel-framework)[flow-php/flow

PHP ETL - Extract Transform Load - Data processing framework

85036.3k](/packages/flow-php-flow)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

585.6M574](/packages/shopware-core)[jolicode/castor

A lightweight and modern task runner. Automate everything. In PHP.

54743.1k4](/packages/jolicode-castor)[open-dxp/opendxp

Content &amp; Product Management Framework (CMS/PIM)

9421.6k61](/packages/open-dxp-opendxp)

PHPackages © 2026

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