Deployment for PHP
This project came out of the need for a way to deploy Wordpress sites to multiple environments easily and without firing up FTP clients, etc. What started as a simple Rakefile, quickly grew into much more, and has been finally abstracted and ported to PHP to be able to fully integrate tasks with your application.
Make sure you have composer installed:
$ curl -s https://getcomposer.org/installer | php $ sudo mv composer.phar /usr/local/bin/composer
$ composer global require pomander/pomander:@stable
If you haven't added composer's global bin folder to your
$PATH, better do that now:
$ echo 'export PATH="$HOME/.composer/vendor/bin:$PATH"' >> ~/.bashrc
Substitute .bashrc with whatever you use.
$ pom init
Refer to the documentation for a full list of commands and references for configuring environments.