2013-07-11 18:40:44 +04:00
Introduction
------------
2015-10-05 22:21:08 +07:00
[](https://travis-ci.org/deployphp/deployer)
2015-01-17 15:48:06 +03:00
[](https://scrutinizer-ci.com/g/deployphp/deployer/)
[](https://codeclimate.com/github/deployphp/deployer)
[](https://scrutinizer-ci.com/g/deployphp/deployer/)
2015-01-17 15:48:52 +03:00
[](https://packagist.org/packages/deployer/deployer)
2016-11-03 20:44:05 +07:00
[](https://gitter.im/deployphp/deployer?utm_source=badge& utm_medium=badge& utm_campaign=pr-badge)
2013-07-13 14:33:11 +04:00
2014-10-17 16:56:26 +04:00
[](https://insight.sensiolabs.com/projects/69072898-df4a-4dee-ab05-c2ae83d6c469)
2014-08-13 13:21:13 +04:00
Deployer is a deployment tool written in PHP.
2013-07-13 14:33:11 +04:00
2016-10-25 15:30:04 +07:00
See [deployer.org ](https://deployer.org ) for more information and documentation.
2014-07-05 14:14:58 +04:00
2016-10-25 15:30:04 +07:00
Support Deployer development by [](https://www.patreon.com/deployer)
2015-06-03 12:22:29 +07:00
2013-07-11 18:40:44 +04:00
Requirements
------------
2016-03-19 22:44:01 +07:00
* PHP 5.5.0 and up.
2014-11-29 22:39:25 +03:00
That's all!
2014-11-29 22:36:19 +03:00
2015-05-14 19:13:57 +07:00
You can enable [sockets ](http://php.net/manual/en/book.sockets.php ) to speedup deployment process with parallel deployment.
2014-08-13 13:21:13 +04:00
2013-07-11 18:40:44 +04:00
Installation
------------
2016-10-25 15:23:35 +07:00
To install Deployer download [deployer.phar ](https://deployer.org/deployer.phar ) archive and move deployer.phar to your bin directory and make it executable.
2014-07-05 13:51:56 +04:00
2015-06-18 10:11:15 +02:00
``` sh
2016-10-25 15:23:35 +07:00
$ curl -LO https://deployer.org/deployer.phar
2015-06-18 10:11:15 +02:00
$ mv deployer.phar /usr/local/bin/dep
$ chmod +x /usr/local/bin/dep
```
2014-07-12 16:50:13 +04:00
To upgrade Deployer run command:
2015-06-18 10:11:15 +02:00
``` sh
$ dep self-update
```
2014-07-05 13:51:56 +04:00
2014-07-12 16:50:13 +04:00
Or via composer:
2014-07-05 13:51:56 +04:00
2015-06-18 10:11:15 +02:00
``` sh
2016-05-17 20:41:40 +07:00
$ composer require deployer/deployer
2015-06-18 10:11:15 +02:00
```
2014-07-05 13:51:56 +04:00
2014-08-13 13:21:13 +04:00
2014-07-05 13:51:56 +04:00
Documentation
-------------
2015-01-21 11:13:11 +03:00
Documentation source can be found in [deployphp/docs ](https://github.com/deployphp/docs ) repository.
2014-07-05 13:51:56 +04:00
2014-08-13 13:21:13 +04:00
Building
--------
2015-06-18 13:21:56 +02:00
To build `deployer.phar` run `./build` command.
2014-08-14 12:59:57 +04:00
2015-05-14 19:13:57 +07:00
2016-03-20 00:02:04 +07:00
Community
2015-02-14 16:29:19 +03:00
-------
2016-10-25 15:23:35 +07:00
Discuss Deployer here [deployer.org/discuss ](https://deployer.org/discuss ).
2014-08-13 13:21:13 +04:00
2015-06-07 15:25:32 +07:00
Roadmap
-------
2015-07-24 14:26:45 +07:00
#### 4
2016-08-04 23:56:33 +03:00
* ~~Namespace for functions~~
* ~~Dependency Injection Configuration~~
* ~~Event Dispatcher~~
2015-06-07 15:25:32 +07:00
* Default stage selector
2016-03-23 21:41:38 +07:00
* ~~Faster cloning by borrowing objects from existing clones~~ Done in v3!
2015-06-07 15:25:32 +07:00
* Immutable settings
* Native SSH support
2016-08-04 23:56:33 +03:00
2016-10-25 15:23:35 +07:00
#### 5
2015-06-07 15:25:32 +07:00
* Task grouping for parallel execution
2015-06-07 18:10:53 +07:00
* Web-based client
2015-05-14 19:13:57 +07:00
2014-08-13 13:21:13 +04:00
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
2015-06-17 19:30:25 +02:00
the [PSR-2 ](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-2-coding-style-guide.md ).
2014-08-13 13:21:13 +04:00
2015-01-17 15:59:09 +03:00
If you would like to help take a look at the [list of issues ](https://github.com/deployphp/deployer/issues ).
2014-08-13 13:21:13 +04:00
2015-05-14 19:13:57 +07:00
2016-03-20 00:02:04 +07:00
Maintainers
-----------
* Anton Medvedev [@elfet ](https://github.com/elfet )
* Oanh Nguyen [@oanhnn ](https://github.com/oanhnn )
* Hubert Viktor [@ZeeCoder ](https://github.com/ZeeCoder )
See also the list of [contributors ](https://github.com/deployphp/deployer/graphs/contributors ) who participated in this project.
2015-09-17 12:56:22 +07:00
2016-10-25 15:23:35 +07:00
Supporting Deployer
-------------------
Deployer is an open source project. If you want to support the development of Deployer visit our [patreon page ](https://www.patreon.com/deployer ).
2013-07-11 19:00:21 +04:00
License
-------
2013-07-13 14:33:11 +04:00
Licensed under the MIT license: http://www.opensource.org/licenses/mit-license.php