PHPackages                             jakubstach/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. jakubstach/phing-symfony-command-task

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

jakubstach/phing-symfony-command-task
=====================================

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

0353PHP

Since Oct 21Pushed 3y agoCompare

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

READMEChangelogDependenciesVersions (1)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

18

—

LowBetter than 8% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity24

Early-stage or recently created project

 Bus Factor1

Top contributor holds 98.5% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/288a5560bd73ed45cbaa7bf4e35f45e2e49fadfbaf7e9fc96a73fa4e7e5f1ae8?d=identicon)[Jakub Stach](/maintainers/Jakub%20Stach)

---

Top Contributors

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

### Embed Badge

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

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

###  Alternatives

[wp-cli/wp-cli

WP-CLI framework

5.0k17.2M318](/packages/wp-cli-wp-cli)[consolidation/annotated-command

Initialize Symfony Console commands from annotated command class methods.

22569.8M18](/packages/consolidation-annotated-command)[chi-teck/drupal-code-generator

Drupal code generator

26947.8M5](/packages/chi-teck-drupal-code-generator)[seld/cli-prompt

Allows you to prompt for user input on the command line, and optionally hide the characters they type

24725.8M17](/packages/seld-cli-prompt)[illuminate/console

The Illuminate Console package.

12944.1M5.1k](/packages/illuminate-console)[php-tui/php-tui

Comprehensive TUI library heavily influenced by Ratatui

589747.0k6](/packages/php-tui-php-tui)

PHPackages © 2026

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