2013-07-11 18:40:44 +04:00
Introduction
------------
2015-01-17 15:48:06 +03:00
[](https://travis-ci.org/deployphp/deployer)
[](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)
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
2015-01-17 15:48:06 +03:00
See [http://deployer.org ](http://deployer.org ) for more information and documentation.
2014-07-05 14:14:58 +04:00
2015-06-03 12:22:29 +07:00
[](https://gitter.im/deployphp/deployer?utm_source=badge& utm_medium=badge& utm_campaign=pr-badge)
2015-09-17 12:56:22 +07:00
Support Deployer development on [patreon ](https://www.patreon.com/deployer ).
2013-07-11 18:40:44 +04:00
Requirements
------------
2014-11-29 22:36:19 +03:00
* PHP 5.4.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
------------
2015-01-17 15:59:09 +03:00
To install Deployer download [deployer.phar ](http://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
$ curl -L http://deployer.org/deployer.phar -o deployer.phar
$ 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
$ composer require deployer/deployer:~3.0
```
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
2015-02-14 16:29:19 +03:00
Discussing
-------
Discuss Deployer here [deployer.org/discuss ](http://deployer.org/discuss ). You can also ask question on [StackOverflow ](http://stackoverflow.com/questions/tagged/deployer ).
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
* Namespace for functions
2015-06-07 15:25:32 +07:00
* Dependency Injection Configuration
* Event Dispatcher
* Default stage selector
2015-06-07 18:10:53 +07:00
* Faster cloning by borrowing objects from existing clones
2015-06-07 15:25:32 +07:00
* Immutable settings
* Native SSH support
2015-06-07 18:10:53 +07:00
2015-07-24 14:26:45 +07:00
#### 4.1
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
2015-09-17 12:56:22 +07:00
Donate
------
Support Deployer development on [patreon ](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