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

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

rafaelstz/deployer-magento2
===========================

Magento 2 deployment tool based on deployer.org

1.3.8(4y ago)5223.5k28[10 issues](https://github.com/rafaelstz/deployer-magento2/issues)[3 PRs](https://github.com/rafaelstz/deployer-magento2/pulls)MITPHP

Since Jan 10Pushed 2y ago5 watchersCompare

[ Source](https://github.com/rafaelstz/deployer-magento2)[ Packagist](https://packagist.org/packages/rafaelstz/deployer-magento2)[ Fund](https://www.buymeacoffee.com/rafaelcg)[ GitHub Sponsors](https://github.com/[user1)[ RSS](/packages/rafaelstz-deployer-magento2/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (8)Versions (21)Used By (0)

Deployer Magento 2 recipe
=========================

[](#deployer-magento-2-recipe)

[![Build Status](https://camo.githubusercontent.com/6a0bd632f5a6bbc23fc7b3e2fc9585d2edb5c8235547dc72e9298df72105f41c/68747470733a2f2f6170702e7472617669732d63692e636f6d2f72616661656c73747a2f6465706c6f7965722e7376673f6272616e63683d6d6173746572)](https://app.travis-ci.com/rafaelstz/deployer)[![Tags](https://camo.githubusercontent.com/2138d8d9a6ba39ac3bda68c833ce3b23830ed162e9f22b275fee6cac6b7e4d76/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f7461672f72616661656c73747a2f6465706c6f7965722d6d6167656e746f322e737667)](https://github.com/rafaelstz/deployer-magento2/releases)[![Total Downloads](https://camo.githubusercontent.com/b0da6f961a62cbdb8ebaa46d9fc6b207192ede55f0215dc700631aacc932fb6c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f72616661656c73747a2f6465706c6f7965722d6d6167656e746f322e737667)](https://packagist.org/packages/rafaelstz/deployer-magento2)

Easy tool to deploy and run automated commands in your Magento 2 servers.

How to install
--------------

[](#how-to-install)

How to install [Deployer](https://deployer.org/):

```
curl -LO https://deployer.org/deployer.phar && sudo mv deployer.phar /usr/local/bin/dep && sudo chmod +x /usr/local/bin/dep

```

How to install this **Magento 2 recipe**:

```
composer require rafaelstz/deployer-magento2 --dev

```

How to use
----------

[](#how-to-use)

First of all, go to your project folder, then create a file called `deploy.php`. Inside of this file you can use this example below, modifying the values according with your project and server configurations.

```
