PHPackages                             onigoetz/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. onigoetz/deployer

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

onigoetz/deployer
=================

A configurable deploy script

1.0.0-beta4(10y ago)13101PHPPHP &gt;=5.5.0

Since Sep 15Pushed 2y ago2 watchersCompare

[ Source](https://github.com/onigoetz/deployer)[ Packagist](https://packagist.org/packages/onigoetz/deployer)[ Docs](https://github.com/onigoetz/deployer)[ RSS](/packages/onigoetz-deployer/feed)WikiDiscussions master Synced 6d ago

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

Deployer
========

[](#deployer)

[![Build Status](https://camo.githubusercontent.com/8b7c88462b672fc51f080cb29a19a8c7bcfe7126ac27fecea06fceb791db83f8/687474703a2f2f696d672e736869656c64732e696f2f7472617669732f6f6e69676f65747a2f6465706c6f7965722e7376673f7374796c653d666c6174)](https://travis-ci.org/onigoetz/deployer)[![Latest Stable Version](https://camo.githubusercontent.com/80af20e27b365dbcaadc418e79093b7bff5a31c5581be4377e835bd395a21548/687474703a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6f6e69676f65747a2f6465706c6f7965722e7376673f7374796c653d666c6174)](https://packagist.org/packages/onigoetz/deployer)[![Total Downloads](https://camo.githubusercontent.com/328807dc31b28170e5f180171068f6478ac6bfb95644f7e6dde1d6588c7c9861/687474703a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6f6e69676f65747a2f6465706c6f7965722e7376673f7374796c653d666c6174)](https://packagist.org/packages/onigoetz/deployer)[![Scrutinizer Quality Score](https://camo.githubusercontent.com/df1705fba82d41603c72712a952a73c5fedffb4d8fb9a4f45dc8a7952165497c/687474703a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f6f6e69676f65747a2f6465706c6f7965722e7376673f7374796c653d666c6174)](https://scrutinizer-ci.com/g/onigoetz/deployer/)[![Code Coverage](https://camo.githubusercontent.com/5cfbffefd17cbd350f08710340839f59aa836ac86971310916081c4efbf0910a/687474703a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f6f6e69676f65747a2f6465706c6f7965722e7376673f7374796c653d666c6174)](https://scrutinizer-ci.com/g/onigoetz/deployer/)

### Deprecated

[](#deprecated)

This package is deprecated, and won't receive any update. There are most certainly better tools to do this.

### Easily deploy your applications

[](#easily-deploy-your-applications)

Deployer is a tool that helps to deploy projects of any type to a server with minimal requirements.

Requirements on the server side:

- SSH Access to the server
- PHP if you want to use composer

The library works perfectly and is used in production for a few years now. It is still marked as beta as there are some things I still want to improve.

What does it do better than others ?
------------------------------------

[](#what-does-it-do-better-than-others-)

There are so much tools to deploy an application to one or many servers, the problem is that they're hard to configure and / or they need to install software on the destination server.

This tool has two advantages:

- Nothing needs to be installed on the destination
- Very simple configuration

Deploying is as simple as :

```
./deploy server:deploy production

```

Commands
--------

[](#commands)

Two commands are available

- server:deploy : To deploy the latest commit on one or more servers
- server:rollback : To rollback the latest deploy on one or more servers

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

[](#installation)

You can install the library through [composer](http://getcomposer.org). All you need is to add it as dependency to your composer.json.

```
{
    "require-dev": {
        "onigoetz/deployer": "1.0.0-beta2"
    }
}
```

Quick Start
-----------

[](#quick-start)

> The full documentation is available at
>
> http://onigoetz.ch/deployer/

### In Laravel 4

[](#in-laravel-4)

Add the following lines to your application in `config/local/app.php`

```
    'providers' => append_config(
        ['Onigoetz\Deployer\DeployServiceProvider']
    ),
```

With that part configured you can run `./artisan config:publish onigoetz/deployer`

this will copy the default configurations to `config/packages/onigoetz/deployer`You can find the details of each file in the [Configuration section](#configuration-options)

Then you can run `./artisan server:deploy production` to deploy

### Standalone launcher

[](#standalone-launcher)

This time the configuration is made in a folder called `.deployer`

to do this, add deployer to your composer dependencies and do

```
cp vendor/onigoetz/deployer/src/config .deployer
```

You can now configure your infrastructure.

Then you can run `vendor/bin/deployer server:deploy production` to deploy

Roadmap
-------

[](#roadmap)

The ideas I have partly implemented or that I want to implement

- Connect to servers with SSH Keys instead of the usual username:password combo
- Create a zip locally and upload it to the server. (instead of a zip clone)

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 98.5% 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 ~300 days

Total

5

Last Release

3789d ago

PHP version history (3 changes)1.0.0-alpha1PHP &gt;=5.3.0

1.0.0-beta2PHP &gt;=5.4.0

1.0.0-beta3PHP &gt;=5.5.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/7766264b40bb3a40b9b2ac847b67135c59e774807a6d1e313758efcd8203603f?d=identicon)[onigoetz](/maintainers/onigoetz)

---

Top Contributors

[![onigoetz](https://avatars.githubusercontent.com/u/309594?v=4)](https://github.com/onigoetz "onigoetz (65 commits)")[![scrutinizer-auto-fixer](https://avatars.githubusercontent.com/u/6253494?v=4)](https://github.com/scrutinizer-auto-fixer "scrutinizer-auto-fixer (1 commits)")

---

Tags

laravelL4deploymentcapistrano

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

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

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

###  Alternatives

[timokoerber/laravel-one-time-operations

Run operations once after deployment - just like you do it with migrations!

6481.7M11](/packages/timokoerber-laravel-one-time-operations)[exolnet/laravel-envoy

Automated deployment template for Laravel Envoy based on Capistrano.

2216.2k](/packages/exolnet-laravel-envoy)[thecodeholic/laravel-hostinger-deploy

Laravel package for automated Hostinger deployment with GitHub Actions support

565.3k](/packages/thecodeholic-laravel-hostinger-deploy)[kohkimakimoto/altax

Altax is an extensible deployment tool for PHP.

2002.8k](/packages/kohkimakimoto-altax)[innocenzi/deployer-recipe-forge

Seamless zero-downtime deployment on Forge with Deployer

1916.6k](/packages/innocenzi-deployer-recipe-forge)[webklex/laravel-git-hook

Laravel Git Hook

191.2k](/packages/webklex-laravel-git-hook)

PHPackages © 2026

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