Thanks to visit codestin.com
Credit goes to github.com

Skip to content
/ deployer Public
forked from deployphp/deployer

A deployment tool written in PHP with support for popular frameworks out of the box

License

Notifications You must be signed in to change notification settings

alwex/deployer

 
 

Repository files navigation

Introduction

Build Status

There are a lot of deployment tools, even in php. But none of them are simple and functional like Deployer.

Create deploy.php in your project:

require 'recipe/symfony.php';

server('main', 'domain.com')
    ->user('you')
    ->pubKey();

server('test', 'test.domain.com')
    ->user('you');

task('deploy:done', function () {
    write('Deploy done!');
});

after('deploy', 'deploy:done');

And run command:

dep deploy

Done! You just deploy your project.

Requirements

Deployer is only supported on PHP 5.4.0 and up (yes, it's time to grow up). Deployer work with ssh2 pecl extension, but if you do not install it on you machine - do not worry, Deployer will work with PHPSecLib.

Installation

To install Deployer download deployer.phar archive and move deployer.phar to your bin directory and make it executable.

mv deployer.phar /usr/local/bin/dep
chmod +x /usr/local/bin/dep

To upgrade Deployer run command:

dep self-update

Or via composer:

composer require elfet/deployer:~1.0

Documentation

Documentation can be found on site deployer.in.

License

Licensed under the MIT license: http://www.opensource.org/licenses/mit-license.php

About

A deployment tool written in PHP with support for popular frameworks out of the box

Resources

License

Contributing

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 99.4%
  • Shell 0.6%