PHPackages                             vunh00/yaml-configuration - 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. vunh00/yaml-configuration

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

vunh00/yaml-configuration
=========================

Add YAML file support to Laravel Configuration

3.1.1(9y ago)07MITPHPPHP &gt;=5.4.0

Since May 24Pushed 5y agoCompare

[ Source](https://github.com/vunh00/laravel-yaml-configuration)[ Packagist](https://packagist.org/packages/vunh00/yaml-configuration)[ RSS](/packages/vunh00-yaml-configuration/feed)WikiDiscussions master Synced today

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

Add Yaml file support for Laravel 5.2 Configuration
===================================================

[](#add-yaml-file-support-for-laravel-52-configuration)

This package uses Symfony/Yaml parser.

Installing
----------

[](#installing)

Add `"vunh00/yaml-configuration": "3.1.*"` to your **composer.json** by running :

```
php composer.phar require vunh00/yaml-configuration

```

And select version : `3.1.*`

Add support in Laravel
----------------------

[](#add-support-in-laravel)

You have to add (or merge)

```
protected function bootstrappers()
{
    $this->bootstrappers[] = 'Vunh00\Core\Config\LoadYamlConfiguration';
    return $this->bootstrappers;
}
```

to your **app/Http/Kernel.php** and/or **app/Console/Kernel.php**.

How to use
----------

[](#how-to-use)

Just use regular **php** files or use **yml** or **yaml** files instead.

**PHP** :

```
