PHPackages                             jamielsharief/task-runner - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. jamielsharief/task-runner

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

jamielsharief/task-runner
=========================

Task runner

0.1.3(4y ago)2312Apache-2.0PHPPHP ^7.4 || ^8.0

Since Feb 6Pushed 4y ago1 watchersCompare

[ Source](https://github.com/jamielsharief/task-runner)[ Packagist](https://packagist.org/packages/jamielsharief/task-runner)[ RSS](/packages/jamielsharief-task-runner/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (9)Versions (5)Used By (0)

Task Runner
===========

[](#task-runner)

[![license](https://camo.githubusercontent.com/1e07db00d547cb8acb3caf3b24ddbb417ed0a2319a5633cf69b1528ba0f49f1e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d417061636865253230322d626c7565)](https://camo.githubusercontent.com/1e07db00d547cb8acb3caf3b24ddbb417ed0a2319a5633cf69b1528ba0f49f1e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d417061636865253230322d626c7565)[![build](https://github.com/jamielsharief/task-runner/workflows/CI/badge.svg)](https://github.com/jamielsharief/task-runner/actions)[![coverage status](https://camo.githubusercontent.com/82a942fd85dfb59f861cdadced81e3e4275b7803baa91badd91bcfd33be44a7f/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f6a616d69656c736861726965662f7461736b2d72756e6e65722f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/jamielsharief/task-runner?branch=master)

Between working on various projects, sometimes months between checking them and I wanted a way to standardize the processes for each project, which made it easy to setup, manage and use.

Installation
------------

[](#installation)

To include in your project

```
$ composer require jamielsharief/task-runner
```

To build the PHAR as `bin/task.phar`, run the following, if you prefer to install to your `/usr/local/bin` run `bin/task deploy` instead.

```
$ git clone https://github.com/jamielsharief/task-runner task-runner
$ cd task-runner
$ composer install
$ bin/task build
```

Usage
-----

[](#usage)

It looks for `task.yml` file in the working directory, or you can use the `working-directory` option to get it to look in a different folder.

```
$ bin/task --working-directory /somewhere/else
```

If your tasks not running as expected, use the `verbose` option to force the output.

```
$ bin/task --verbose # show output and debug info
```

To see the available tasks for each project

```
$ bin/task
   ______           __      ____
  /_  __/___ ______/ /__   / __ \__  ______  ____  ___  _____
   / / / __ `/ ___/ //_/  / /_/ / / / / __ \/ __ \/ _ \/ ___/
  / / / /_/ (__  ) ,
