PHPackages                             atoum/config-extension - 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. [Testing &amp; Quality](/categories/testing)
4. /
5. atoum/config-extension

ActiveLibrary[Testing &amp; Quality](/categories/testing)

atoum/config-extension
======================

atoum extension to use Yaml configuration files

0.3.0(8y ago)23.5k↓20%31BSD-3-ClausePHP

Since Nov 13Pushed 3y ago2 watchersCompare

[ Source](https://github.com/atoum/config-extension)[ Packagist](https://packagist.org/packages/atoum/config-extension)[ Docs](http://www.atoum.org)[ RSS](/packages/atoum-config-extension/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (2)Dependencies (4)Versions (4)Used By (1)

atoum/config-extension [![Build Status](https://camo.githubusercontent.com/5c9a6ee8ed9f96c6a2a420a33de7fc4ed53c9356585dc18481349c822746a7ec/68747470733a2f2f7472617669732d63692e6f72672f61746f756d2f636f6e6669672d657874656e73696f6e2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/atoum/config-extension)
========================================================================================================================================================================================================================================================================================================================

[](#atoumconfig-extension-)

This extension will allow you to configure atoum using a YAML file and/or environnement variables.

Example
-------

[](#example)

When using this extension, you can put a `.atoum.yml` on the root of your repository to configure atoum. Here is an exemple on how to tell atoum to look for unit tests in the `tests/units/classes` folder.

```
# .atoum.yml

atoum:
    directories:
        - ./tests/units/classes
```

Install it
----------

[](#install-it)

Install extension using [composer](https://getcomposer.org):

```
composer require --dev atoum/config-extension

```

Enable the extension using atoum configuration file:

```
