Flamingo is a task runner oriented on data processing.
For more information, check out the wiki.
Create a Task using PHP.
This example configuration converts a *.csv file into a *.json one.
class ExampleTask extends \Flamingo\Task
{
function __invoke()
{
$this->read('file.csv')->write('file.json');
}
}
Then run flamingo in the same folder:
$ flamingo ExampleTask
To build the flamingo.phar file, you will need to clone this project and Box.
You can find some information about how to install it on the github page.
Then you can go in your project folder and run:
$ box build