Download the PHP package nazrulwazir/robo without Composer
On this page you can find all versions of the php package nazrulwazir/robo. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package robo
RoboTask
Modern and simple PHP task runner inspired by Gulp and Rake aimed to automate common tasks:
- writing cross-platform scripts
- processing assets (less, sass, minification)
- running tests
- executing daemons (and workers)
- watching filesystem changes
- deployment with sftp/ssh/docker
Installing
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 just like robo
.
Composer
- Run
composer require consolidation/robo:~1
- Use
vendor/bin/robo
to execute Robo tasks.
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
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
All versions of robo with dependencies
league/container Version ^2.2
consolidation/log Version ~1
consolidation/config Version ^1.0.10
consolidation/annotated-command Version ^2.8.2
consolidation/output-formatters Version ^3.1.13
consolidation/self-update Version ^1
g1a/composer-test-scenarios Version ^2
grasmash/yaml-expander Version ^1.3
symfony/finder Version ^2.5|^3|^4
symfony/console Version ^2.8|^3|^4
symfony/process Version ^2.5|^3|^4
symfony/filesystem Version ^2.5|^3|^4
symfony/event-dispatcher Version ^2.5|^3|^4