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. [DevOps &amp; Deployment](/categories/devops)
4. /
5. mobizel/symfony-capistrano

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

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

Capistrano configuration to deploy your Symfony apps.

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

Since Feb 10Pushed 4y 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 today

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

31

—

LowBetter than 66% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity25

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity56

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

1509d 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.8k9.0k1](/packages/kimai-kimai)[oro/platform

Business Application Platform (BAP)

645143.5k115](/packages/oro-platform)[shopware/production

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

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

29735.5k](/packages/sulu-skeleton)[pumukit/pumukit

Media Portal

6014.6k48](/packages/pumukit-pumukit)[forumify/forumify-platform

122.0k14](/packages/forumify-forumify-platform)

PHPackages © 2026

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