PHPackages                             nazrulwazir/robo - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [CLI &amp; Console](/categories/cli)
4. /
5. nazrulwazir/robo

ActiveLibrary[CLI &amp; Console](/categories/cli)

nazrulwazir/robo
================

1.3.1(7y ago)08MITPHPPHP &gt;=5.5.0

Since Jan 25Pushed 7y ago1 watchersCompare

[ Source](https://github.com/nazrulwazir/Robo)[ Packagist](https://packagist.org/packages/nazrulwazir/robo)[ RSS](/packages/nazrulwazir-robo/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (25)Versions (195)Used By (0)

RoboTask
========

[](#robotask)

**Modern and simple PHP task runner** inspired by Gulp and Rake aimed to automate common tasks:

[![Gitter](https://camo.githubusercontent.com/abe08b740a4156153736f791393ec4da6619c4be73212e75769f52edacc0e2b5/68747470733a2f2f6261646765732e6769747465722e696d2f4a6f696e253230436861742e737667)](https://gitter.im/consolidation-org/Robo?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)[![Latest Stable Version](https://camo.githubusercontent.com/0966479cfc89c8d62cd1d66f8a917f6c51258ac468681332b1644eb28012499b/68747470733a2f2f706f7365722e707567782e6f72672f636f6e736f6c69646174696f6e2f726f626f2f762f737461626c652e706e67)](https://packagist.org/packages/consolidation/robo)[![Latest Unstable Version](https://camo.githubusercontent.com/d140015bccfddc7fbc39c60309ea2b84b0b6af02079308a2eef3c52840167e1c/68747470733a2f2f706f7365722e707567782e6f72672f636f6e736f6c69646174696f6e2f726f626f2f762f756e737461626c652e706e67)](https://packagist.org/packages/consolidation/robo)[![Total Downloads](https://camo.githubusercontent.com/fbf0be1062e83dd3e61b0d2c5a83b83416007b21bf8678cf48cb9151ca5ecabe/68747470733a2f2f706f7365722e707567782e6f72672f636f6e736f6c69646174696f6e2f726f626f2f646f776e6c6f6164732e706e67)](https://packagist.org/packages/consolidation/robo)[![PHP 7 ready](https://camo.githubusercontent.com/952a9610b25757d7f77f987861a7f51bd5f1511309aee92e5c3f021bcc9f7d51/687474703a2f2f7068703772656164792e74696d6573706c696e7465722e63682f636f6e736f6c69646174696f6e2f526f626f2f62616467652e737667)](https://travis-ci.org/consolidation/Robo)[![License](https://camo.githubusercontent.com/77874d065d376f6b587c0f32dd285972319b555844613082bb5f2e97663b16f6/68747470733a2f2f706f7365722e707567782e6f72672f636f6e736f6c69646174696f6e2f726f626f2f6c6963656e73652e706e67)](https://www.versioneye.com/user/projects/57c4a6fe968d64004d97620a?child=57c4a6fe968d64004d97620a#tab-licenses)

[![Build Status](https://camo.githubusercontent.com/248589587eba3644cef4a34059ad4b27d4fcd251f1aa9394c1814ad131266d54/68747470733a2f2f7472617669732d63692e6f72672f636f6e736f6c69646174696f6e2f526f626f2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/consolidation/Robo)[![Windows CI](https://camo.githubusercontent.com/9dd30f4ef742270f47842ee9defaedbc4f516bcc4e635952ad024ec757179d9c/68747470733a2f2f63692e6170707665796f722e636f6d2f6170692f70726f6a656374732f7374617475732f30383233686e683036707738697234643f7376673d74727565)](https://ci.appveyor.com/project/greg-1-anderson/robo)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/22f2e1f8954ed38efe5b025c5d5411c8c4be0bc28f85189e59cafad38e85297c/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f636f6e736f6c69646174696f6e2f526f626f2f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/consolidation/Robo/?branch=master)[![Dependency Status](https://camo.githubusercontent.com/c5b30245ce589ea459107a392164878575ca40d5a5a25dbc6dcdd3f4f6f262ac/68747470733a2f2f7777772e76657273696f6e6579652e636f6d2f757365722f70726f6a656374732f3537633461366665393638643634303034643937363230612f62616467652e7376673f7374796c653d666c61742d737175617265)](https://www.versioneye.com/user/projects/57c4a6fe968d64004d97620a)

- writing cross-platform scripts
- processing assets (less, sass, minification)
- running tests
- executing daemons (and workers)
- watching filesystem changes
- deployment with sftp/ssh/docker

Installing
----------

[](#installing)

### Phar

[](#phar)

[Download robo.phar &gt;](http://robo.li/robo.phar)

```
wget http://robo.li/robo.phar

```

To install globally put `robo.phar` in `/usr/bin`. (`/usr/local/bin/` in OSX 10.11+)

```
chmod +x robo.phar && sudo mv robo.phar /usr/bin/robo

```

OSX 10.11+

```
chmod +x robo.phar && sudo mv robo.phar /usr/local/bin/robo

```

Now you can use it just like `robo`.

### Composer

[](#composer)

- Run `composer require consolidation/robo:~1`
- Use `vendor/bin/robo` to execute Robo tasks.

Usage
-----

[](#usage)

All tasks are defined as **public methods** in `RoboFile.php`. It can be created by running `robo`. All protected methods in traits that start with `task` prefix are tasks and can be configured and executed in your tasks.

Examples
--------

[](#examples)

The best way to learn Robo by example is to take a look into [its own RoboFile](https://github.com/consolidation-org/Robo/blob/master/RoboFile.php)or [RoboFile of Codeception project](https://github.com/Codeception/Codeception/blob/2.4/RoboFile.php). There are also some basic example commands in examples/RoboFile.php.

Here are some snippets from them:

---

Run acceptance test with local server and selenium server started.

```
