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

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

plasticstudio/ps-deployer
=========================

This is the base module for deployer recipe - tailored for our setup on sitehost

1.2.12(2mo ago)11.1k↑300%1[2 PRs](https://github.com/PlasticStudio/ps-deployer/pulls)BSD-3-ClausePHP

Since Jul 10Pushed 12mo ago2 watchersCompare

[ Source](https://github.com/PlasticStudio/ps-deployer)[ Packagist](https://packagist.org/packages/plasticstudio/ps-deployer)[ Docs](https://psdigital.co.nz)[ RSS](/packages/plasticstudio-ps-deployer/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)DependenciesVersions (28)Used By (0)

ps-deployer
===========

[](#ps-deployer)

Quick access commands
---------------------

[](#quick-access-commands)

`dep deploy stage=uat`

`dep deploy stage=uat --branch=master`

`dep deploy stage=prod --tag=1.0.1`

`dep sitehost:prepare`

`dep sitehost:prepare:deploy stage=uat --branch=master`

`dep sitehost:backup`

`dep savefromremote:latest`

`dep savefromremote`

`dep savefromremote:db`

`dep savefromremote:assets`

`dep savefromremote:logs`

`dep loadtoremote:assets`

Important
---------

[](#important)

To keep normal set up - add to your docker file environment

`- DEPLOYER_VERSION=6.8.0`

Migrate from v6 to 7
--------------------

[](#migrate-from-v6-to-7)

1. Make sure you are running the latest docker image (you can pull this from inside docker desktop). deployer 7 currently works with 8.1 and 8.0 docker images.
2. Install the new module `composer require --dev PlasticStudio/ps-deployer ` this now contains all the tasks that were present in the old deploy.php
3. Rename your `deploy.php` to `deploy-backup.php`
4. Create new `deploy.php` and add below new code all.

    ```
