Download the PHP package oanhnn/deployer-example without Composer
On this page you can find all versions of the php package oanhnn/deployer-example. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download oanhnn/deployer-example
More information about oanhnn/deployer-example
Files in oanhnn/deployer-example
Package deployer-example
Short Description Example project for deployment PHP project (slim framwork) by Deployer
License MIT
Informations about the package deployer-example
Introduction
An example for use Deployer to deployment PHP project.
In this example, i'm will deploy a project using Slim framework follow my slim-skeleton
See http://deployer.org for more information and documentation about Deployer.
Requirements
- PHP 5.6.0 and up.
That's all!
If PHP 5.4.x or 5.5.x, please using branch 3.x (using Deployer 3.x)
You can install ssh2 extension to speedup deployment process and enable sockets for parallel deployment.
Installation
Clone with git
and run composer install
or using composer
Usage
In this example using forward agent feature, to run it, please enable
ssh
forward agent the first. If using ssh2 extension, please require package"herzult/php-ssh": "~1.0"
and add lineset('ssh_type', 'ext-ssh2');
todeploy.php
file before deployment. If using native ssh client, please add lineset('ssh_type', 'native');
todeploy.php
file before deployment.
Customize stage/dev.php
or make a copy and write your own stages.
First deployment:
Next deployments:
Using options -vvv
for debug
Contributing
All code contributions must go through a pull request and approved by a core developer before being merged. This is to ensure proper review of all the code.
Fork the project, create a feature branch, and send a pull request.
To ensure a consistent code base, you should make sure the code follows the PSR-1.
If you would like to help take a look at the list of issues.
License
This project is released under the MIT License.
Copyright © 2015-2017 Oanh Nguyen.
Please see License File for more information.