Download the PHP package consolidation/robo without Composer

On this page you can find all versions of the php package consolidation/robo. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package robo

RoboTask

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

Gitter Latest Stable Version Latest Unstable Version Total Downloads

ci scrutinizer codecov license

Branches

Branch Support Level Symfony League Container psr/log PHP Versions
5.x Stable 6 - 7 3 2 - 3 8.2 - 8.3
4.x Stable 6 3 2 - 3 8.0 - 8.3
3.x Not supported 4 - 6 3 1 - 2 7.1 - 8.1
2.x Not supported 4 - 5 2 1 - 2 7.1 - 7.4
1.x Not supported 2 - 4 2 1 - 2 5.5 - 7.4

All 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

Phar

Download robo.phar >

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

OSX 10.11+

Now you can use it simply via robo.

Composer

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

The best way to learn Robo by example is to take a look into its own RoboFile or RoboFile of Codeception project. 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.

If you execute robo you will see this task added to list of available task with name: test:acceptance. To execute it you should run robo test:acceptance. You may change path to selenium server by passing new path as a argument:

Using watch task so you can use it for running tests or building assets.


Cleaning logs and cache

This task cleans app/cache and app/logs dirs (ignoring .gitignore and .gitkeep files) Can be executed by running:


Creating Phar archive


We need more tasks!

Create your own tasks and send them as Pull Requests or create packages with "type": "robo-tasks" in composer.json on Packagist.

Credits

Follow @robo_php for updates.

Brought to you by Consolidation Team and our awesome contributors.

License

MIT


All versions of robo with dependencies

PHP Build Version
Package Version
Requires php Version >=8.2
consolidation/annotated-command Version ^4.8.1
consolidation/config Version ^3
consolidation/log Version ^3
consolidation/output-formatters Version ^4.1.2
league/container Version ^3.3.1 || ^4.0
phpowermove/docblock Version ^4.0
symfony/console Version ^6 || ^7
symfony/event-dispatcher Version ^6 || ^7
symfony/filesystem Version ^6 || ^7
symfony/finder Version ^6 || ^7
symfony/process Version ^6 || ^7
symfony/yaml Version ^6 || ^7
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package consolidation/robo contains the following files

Loading the files please wait ....