PHPackages                             nordcode/robo-parameters - 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. nordcode/robo-parameters

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

nordcode/robo-parameters
========================

Parameter file writer for Robo task runner

1.2.1(8y ago)34.5k41MITPHP

Since Mar 25Pushed 8y ago2 watchersCompare

[ Source](https://github.com/nordcode/robo-parameters)[ Packagist](https://packagist.org/packages/nordcode/robo-parameters)[ RSS](/packages/nordcode-robo-parameters/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (6)Versions (6)Used By (1)

Robo Parameters Task
====================

[](#robo-parameters-task)

[![Build Status](https://camo.githubusercontent.com/8c3d491e2e813cce340521f7388a5b85ba2f1d1d0c8c4c0188f4925532251118/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6e6f7264636f64652f726f626f2d706172616d65746572732e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/nordcode/robo-parameters)[![Coverage Status](https://camo.githubusercontent.com/9b7e41ff43f82049c327916eec98b2a8656179ea5f86503c6e24211d3428b701/68747470733a2f2f696d672e736869656c64732e696f2f636f766572616c6c732f6e6f7264636f64652f726f626f2d706172616d65746572732f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://coveralls.io/r/nordcode/robo-parameters)[![Dependency Status](https://camo.githubusercontent.com/7177828dc7d05f7a40298543a18664941be22100d34b7c190f72ac14062eebd2/68747470733a2f2f7777772e76657273696f6e6579652e636f6d2f757365722f70726f6a656374732f3537343937633261636538643065303034353035663861612f62616467652e7376673f7374796c653d666c6174)](https://www.versioneye.com/user/projects/57497c2ace8d0e004505f8aa)

Robo Parameters provides tasks for the Robo PHP task runner to read and write parameters from/to files with various formats. You can read a parameter file to configure you tasks from a central file or write parameters to a configuration file for your own application to support your deployment setup

Currently, we support `xml`, `ini`, `php`, `yaml` and `json` files. The library comes with a dedicated task for Symfony parameter files that supports the Symfony XML and YAML format (currently no support for the Symfony PHP-configuration format).

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

[](#installation)

Simply add the library as dependency to your `composer.json` (you will mostly only require this in dev):

```
{
    "require-dev": {
        "consolidation/robo": "^1.0",
        "nordcode/robo-parameters": "^1.0"
    }
}
```

or via console:

```
composer require --dev "nordcode/robo-parameters" "^1.0"

```

If you need the YAML reader/writer you will have to add the `symfony/yaml` component, too!

Usage
-----

[](#usage)

After installation you need to add the to your RoboFile by importing the trait:

```
