PHPackages                             codegyre/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. codegyre/robo

Abandoned → [consolidation/robo](/?search=consolidation%2Frobo)Library[CLI &amp; Console](/categories/cli)

codegyre/robo
=============

Modern task runner

5.1.1(6mo ago)2.7k1.0M↓34.1%307[163 issues](https://github.com/consolidation/robo/issues)[22 PRs](https://github.com/consolidation/robo/pulls)20MITPHPPHP &gt;=8.2CI failing

Since Jan 25Pushed 6mo ago79 watchersCompare

[ Source](https://github.com/consolidation/robo)[ Packagist](https://packagist.org/packages/codegyre/robo)[ RSS](/packages/codegyre-robo/feed)WikiDiscussions 5.x Synced 1mo ago

READMEChangelog (10)Dependencies (18)Versions (149)Used By (20)

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/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)

[![ci](https://github.com/consolidation/robo/workflows/CI/badge.svg)](https://github.com/consolidation/robo/actions)[![scrutinizer](https://camo.githubusercontent.com/eda23d4c6a098a685874a45ba8516effaccf27eea7515a3d40e58e8b0d82f99b/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f636f6e736f6c69646174696f6e2f726f626f2f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/consolidation/robo/?branch=master)[![codecov](https://camo.githubusercontent.com/e602edf601c19cac2b5c7cda1ce385bab3481d6af817d139ab082ab5cfd2eaef/68747470733a2f2f636f6465636f762e696f2f67682f636f6e736f6c69646174696f6e2f726f626f2f6272616e63682f6d61696e2f67726170682f62616467652e7376673f746f6b656e3d43416142376f66687878)](https://codecov.io/gh/consolidation/robo)[![license](https://camo.githubusercontent.com/9088196eb6143ecdfcc501e675357438a28171ac912cbf053d079217cf4fec18/68747470733a2f2f706f7365722e707567782e6f72672f636f6e736f6c69646174696f6e2f726f626f2f6c6963656e7365)](https://packagist.org/packages/consolidation/robo)

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

Branches
--------

[](#branches)

BranchSupport LevelSymfonyLeague Containerpsr/logPHP Versions[5.x](https://github.com/consolidation/robo/tree/5.x)Stable6 - 732 - 38.2 - 8.3[4.x](https://github.com/consolidation/robo/tree/4.x)Stable632 - 38.0 - 8.3[3.x](https://github.com/consolidation/robo/tree/3.x)Not supported4 - 631 - 27.1 - 8.1[2.x](https://github.com/consolidation/robo/tree/2.x)Not supported4 - 521 - 27.1 - 7.4[1.x](https://github.com/consolidation/robo/tree/1.x)Not supported2 - 421 - 25.5 - 7.4All versions are roughly compatible; the breaking changes introduced at each major version are fairly minor, and typically only affect classes that are not used by most clients.

Note also that Robo 5.x removed consolidation/self-update as a direct dependency. You will need to explicitly add it if you are using it to update your application phar.

Installing
----------

[](#installing)

### Phar

[](#phar)

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

```
wget https://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 simply via `robo`.

### Composer

[](#composer)

- Run `composer require consolidation/robo:^4`
- 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 init`. 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/Robo/blob/2.x/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.

```
