This content has been written a long time ago. As such, it might not reflect my current thoughts anymore. I keep this page online because it might still contain valid information.

Capifony, The Cool Capistrano Recipes For Symfony Applications

Since two years, I use Capistrano to deploy my applications, even if I sometimes rely on Git to deploy some of them.

Capistrano is just fantastic! It’s a framework to run commands over SSH, so that you just have to configure the process to deploy your application once, and it will work on all servers.

As a framework, Capistrano is extensible. You can write your own recipes to avoid duplicating things. That’s what I did for a long time for my symfony 1.x projects.

It works fine, and I never had any issues with this recipe. But for my Symfony2 applications, I didn’t write anything, not because I’m lazy, but just because there is a wonderful project called capifony.

capifony is a set of recipes for both symfony 1.x, and Symfony2 applications. This project has been created by my friend @everzet, and sponsored by KnpLabs.

This week, I’m really proud to announce that Konstantin gave me the keys of this project, so that I can maintain, and improve it. I released capifony 2.1.7 yesterday with a bunch of fixes, but also with new features. In the next weeks, I will work on the documentation.

The project is hosted on GitHub:, with both the code, and the documentation. As usual, feel free to contribute. To ease contributions on the documentation, I’ve added the nice “Fork & Edit” feature:

So, don’t hesitate to contribute, or to report issues. Your feedback is precious, really!

Feel free to fork and edit this post if you found a typo, thank you so much! This post is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.


Sorry, I removed all comments on December 19, 2019. You can tweet me or send me an email if you like.