Skip to content
/ Plum Public

A deployer library for PHP 5.3

License

Notifications You must be signed in to change notification settings

aerialls/Plum

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Plum

Build Status

An object oriented deployer library

Installation and configuration

Plum does not provide and autoloader but follow the PSR-0 convention.

$plum = new \Plum\Plum();

// Add global options for all the servers
$plum->setOptions(array(
    'dry_run'     => true,
    'excludeFile' => __DIR__.'/exclude.txt'
));

// Register the rsync deployer
$plum->registerDeployer(new \Plum\Deployer\RsyncDeployer());

// Add your server
$plum->addServer('server_name', new \Plum\Server\Server('host', 'username', '/path/to/my/website'));

// Let's go!
$plum->deploy('bender', 'rsync');

About

A deployer library for PHP 5.3

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages