https://github.com/aerialls/Plum
A deployer library for PHP 5.3
https://github.com/aerialls/Plum
deprecated php plum
Last synced: about 2 months ago
JSON representation
A deployer library for PHP 5.3
- Host: GitHub
- URL: https://github.com/aerialls/Plum
- Owner: aerialls
- License: mit
- Created: 2011-12-21T21:14:24.000Z (about 14 years ago)
- Default Branch: master
- Last Pushed: 2016-01-12T12:54:21.000Z (almost 10 years ago)
- Last Synced: 2025-08-13T11:36:52.480Z (5 months ago)
- Topics: deprecated, php, plum
- Language: PHP
- Homepage:
- Size: 142 KB
- Stars: 86
- Watchers: 9
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-php-cn - 官网
- awesome-php - aerialls/Plum - 一个部署库 (部署( Deployment ))
README
# Plum
[](http://travis-ci.org/aerialls/Plum)
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');