PHPackages                             polifonic/symfony-robo - 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. polifonic/symfony-robo

ActiveRobo-tasks[Utility &amp; Helpers](/categories/utility)

polifonic/symfony-robo
======================

Robo tasks and Robofile for symfony apps

0.1.10(10y ago)16.7kMITPHP

Since Sep 19Pushed 9y ago1 watchersCompare

[ Source](https://github.com/polifonic/symfony-robofile)[ Packagist](https://packagist.org/packages/polifonic/symfony-robo)[ RSS](/packages/polifonic-symfony-robo/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (2)Versions (11)Used By (0)

polifonic/symfony-robofile
==========================

[](#polifonicsymfony-robofile)

A RoboFile for symfony apps.

This is the RoboFile that we use for building our own Symfony apps, and we are just making it available to the community. Obviouly it is geared to the way we do things (for example, we use Propel), but it is easy to extend, and hopefully at the very least it can serve as an example or inspiration for your own implementation.

The package also provides a custom `SymfonyTask` which is the equivalent of running `php app/console` on the command line. Note that this is not quite the same as the `SymfonyCommand` task provided by the original Robo package (which does not include the app kernel, for one thing, and therefore does not recognize the `env` option).

This package is totally independent of the [polifonic](http://www.polifonic.io) app.

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

[](#installation)

Add the package to your app's `composer.json` file. Depending on your needs, you may add it in the "require" section or the "require-dev" section.

```
    "require-dev": {
        ....
        "polifonic/symfony-robo": "*",
    }

```

Usage
-----

[](#usage)

Create a new `RoboFile.php` in the root directory of your app. The class should extend the `Polifonic\Robo\RoboFile` class provided by the package. You can use the tasks defined in the original `RoboFile`, override them or add new tasks as per your requirements.

```
