PHPackages                             vasek-purchart/phing-symfony-command-task - 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. [CLI &amp; Console](/categories/cli)
4. /
5. vasek-purchart/phing-symfony-command-task

ActiveLibrary[CLI &amp; Console](/categories/cli)

vasek-purchart/phing-symfony-command-task
=========================================

This Phing task allows you to call commands from a Symfony Console Application comfortably.

3.0(7y ago)461.4k↓30.8%5[4 PRs](https://github.com/VasekPurchart/Phing-Symfony-Command-Task/pulls)MITPHPPHP ~7.2CI passing

Since Apr 26Pushed 1y ago1 watchersCompare

[ Source](https://github.com/VasekPurchart/Phing-Symfony-Command-Task)[ Packagist](https://packagist.org/packages/vasek-purchart/phing-symfony-command-task)[ RSS](/packages/vasek-purchart-phing-symfony-command-task/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (8)Versions (11)Used By (0)

Phing Symfony Command Task
==========================

[](#phing-symfony-command-task)

This Phing task allows you to call commands from a Symfony Console Application comfortably.

There is a built in `SymfonyConsoleTask` in Phing, but with this custom task you can:

- see the output as soon as it is ready (displaying progress bars)
- configure default Symfony Application Console location
- configure the executable with which the Console is run (environments on Windows usually require running the console trough PHP binary, not executing directly), again with a configurable default value
- escaping argument values and paths as in the `ExecTask`

Usage
-----

[](#usage)

To call the commands in the simplest possible way like this:

```

```

you have to configure the default values:

```

```

Of course you can set these properties in any other regular way.

If you do not want to use the defaults, or you want to override them you can always specify both or one of them:

```

```

If you want to pass any additional parameters, you can use `` elements to do so (as in `ExecTask`):

```

```

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

[](#installation)

1. Install package [`vasek-purchart/phing-symfony-command-task`](https://packagist.org/packages/vasek-purchart/phing-symfony-command-task) with [Composer](https://getcomposer.org/):

```
composer require vasek-purchart/phing-symfony-command-task
```

2. Register this task under a name of your choosing.

There are several ways how to register a task, see the `TaskDefTask` documentation. The recommended way is putting this in your `build.xml`:

```

```

You can pick any other name for the command if you would like to.

###  Health Score

39

—

LowBetter than 86% of packages

Maintenance34

Infrequent updates — may be unmaintained

Popularity34

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~284 days

Recently: every ~404 days

Total

7

Last Release

2695d ago

Major Versions

1.3 → 2.02017-03-22

2.0 → 3.02018-12-31

PHP version history (2 changes)2.0PHP ~7.0

3.0PHP ~7.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/48831f7e09a459d6f2761d53922e26cef1579c030524f5c36f54964f0d6541e1?d=identicon)[VasekPurchart](/maintainers/VasekPurchart)

---

Top Contributors

[![VasekPurchart](https://avatars.githubusercontent.com/u/406821?v=4)](https://github.com/VasekPurchart "VasekPurchart (72 commits)")

---

Tags

commandconsolephingphing-taskssymfonyconsolesymfonycommandtaskphing

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/vasek-purchart-phing-symfony-command-task/health.svg)

```
[![Health](https://phpackages.com/badges/vasek-purchart-phing-symfony-command-task/health.svg)](https://phpackages.com/packages/vasek-purchart-phing-symfony-command-task)
```

###  Alternatives

[jmose/command-scheduler-bundle

This Symfony bundle will allow you to schedule all your commands just like UNIX crontab

3361.4M1](/packages/jmose-command-scheduler-bundle)[zenstruck/console-extra

A modular set of features to reduce configuration boilerplate for your Symfony commands.

8057.6k1](/packages/zenstruck-console-extra)[dukecity/command-scheduler-bundle

This Symfony bundle will allow you to schedule all your commands just like UNIX crontab

25350.9k5](/packages/dukecity-command-scheduler-bundle)[contributte/console-extra

Nette-based console commands for latte, DIC, security, utils and many others

301.2M2](/packages/contributte-console-extra)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
