talira

PHP task runner for scripts, asset builds, tests and deploys, written in PHP

open sourceMITfree

Robo is a PHP task runner inspired by Gulp and Rake. You define tasks as public methods in a RoboFile.php (robo init creates one) and run them as commands such as robo test:acceptance, using its built-in tasks to run tests, process assets such as Less, Sass and minification, start servers and daemons in the background, watch files for changes, and deploy over SFTP, SSH or Docker. It installs as a phar or through Composer.

Problems it solves

  • automate build and deploy steps for a PHP project in PHP instead of shell scripts
  • run a local server and the test suite together with one command
  • watch a PHP project's files and rerun a task when they change

Features

  • tasks as public methods in RoboFile.php, run as commands
  • built-in tasks for tests, asset processing and minification
  • background servers and daemons
  • file watching
  • deployment with SFTP, SSH or Docker
  • phar or Composer install

Alternatives

The same job

These do what Robo does.

  1. Phing PHP build tool modelled on Apache Ant, with XML build files and PHP task classes
  2. gulp A toolkit to automate and enhance your workflow
  3. Rake Ruby Make: build tasks and their dependencies written in Ruby

Compare Robo with the top 3