PHPackages                             mobizel/symfony-capistrano - 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. mobizel/symfony-capistrano

ActiveLibrary

mobizel/symfony-capistrano
==========================

Capistrano configuration to deploy your Symfony apps.

v0.4.0(3y ago)012.9k1[1 PRs](https://github.com/mobizel/symfony-capistrano/pulls)MITRubyPHP ^8.0

Since Feb 10Pushed 3y ago5 watchersCompare

[ Source](https://github.com/mobizel/symfony-capistrano)[ Packagist](https://packagist.org/packages/mobizel/symfony-capistrano)[ RSS](/packages/mobizel-symfony-capistrano/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (4)Dependencies (1)Versions (6)Used By (0)

Symfony Capistrano
==================

[](#symfony-capistrano)

Symfony capistrano allow you to deploy your Symfony application using [Capistrano](http://capistranorb.com) and [Symfony Flex](https://github.com/symfony/flex) Composer plugin.

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

[](#installation)

This repository hosts contributed recipes for Composer packages that are not part of the "official" [Symfony recipes](https://github.com/symfony/recipes). To enable recipes defined in this repository for your project, run the following command:

```
composer config extra.symfony.allow-contrib true
```

Add the package to your composer requirements.

```
composer require mobizel/symfony-capistrano
```

How to deploy using Capistrano
------------------------------

[](#how-to-deploy-using-capistrano)

Note:

This page give some hit about Capistrano. To go further check [the official documentation](http://capistranorb.com)

Capistrano is a common tools to deploy a Symfony app. It allows to deploy your app without any interruption. Your document root in on a symlink which corresponds to a release directory. This symlink is updated when your build finished successfully.

**Install Dependencies**

We are going to use [Bundler](http://bundler.io) to install capistrano

```
$ gem install bundler
```

Run bundler install command to install gem dependancies in the project Gemfile

```
$ bundle install
```

**Configure your environments**

By defaults, there are two environments pre-configured:

- staging
- production

These environments are configured in on `etc/capistrano/deploy/` directory. Replace `XX.XXX.XX.XXX` with your server ip addresses

**Deploy the staging environment**

```
$ bundle exec "cap staging deploy"
```

**Deploy the production environment**

```
$ bundle exec "cap production deploy"
```

**Create your own task**

Capistrano allow you to build your own to exec during your deployment. This exemple create a task that execute a command on deployment target server.

```
namespace :namespace do
    desc "task description"
    task :task_name do
      on roles(:all) do |host|
              execute 'command executed on target server'
      end
    end
end
```

**Tasks hooks**

Capistrano provides hooks in order to exec your task before or after a specific task. For example if you want to run a task to set a proxy on a remote server before any git check :

```
before 'git:check', 'deploy:add_proxy'
```

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 89.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 ~275 days

Total

4

Last Release

1455d ago

PHP version history (3 changes)v0.1.0PHP ^7.2

v0.3.0PHP ^7.2 || ^8.0

v0.4.0PHP ^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/2eed90354668077c2f2cea098dbe4ab909990a06a39aca1bd4053d7291eea63e?d=identicon)[smildev](/maintainers/smildev)

![](https://www.gravatar.com/avatar/bcb7da354f3f60f1aebfd22151bbacf0f503957afd7329de723a38c41d0cb3c1?d=identicon)[loic425](/maintainers/loic425)

---

Top Contributors

[![loic425](https://avatars.githubusercontent.com/u/8329789?v=4)](https://github.com/loic425 "loic425 (17 commits)")[![loicmobizel](https://avatars.githubusercontent.com/u/17434491?v=4)](https://github.com/loicmobizel "loicmobizel (2 commits)")

### Embed Badge

![Health badge](/badges/mobizel-symfony-capistrano/health.svg)

```
[![Health](https://phpackages.com/badges/mobizel-symfony-capistrano/health.svg)](https://phpackages.com/packages/mobizel-symfony-capistrano)
```

###  Alternatives

[kimai/kimai

Kimai - Time Tracking

4.6k7.4k1](/packages/kimai-kimai)[ec-cube/ec-cube

EC-CUBE EC open platform.

78527.0k1](/packages/ec-cube-ec-cube)[artgris/filemanager-bundle

FileManager is a simple Multilingual File Manager Bundle for Symfony

182420.8k9](/packages/artgris-filemanager-bundle)[shopware/production

178190.0k](/packages/shopware-production)[sulu/skeleton

Project template for starting your new project based on the Sulu content management system

29733.3k](/packages/sulu-skeleton)[ibexa/oss

A meta package for installing Ibexa Open Source

19772.4k11](/packages/ibexa-oss)

PHPackages © 2026

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