PHPackages                             am/config - 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. [Parsing &amp; Serialization](/categories/parsing)
4. /
5. am/config

ActiveLibrary[Parsing &amp; Serialization](/categories/parsing)

am/config
=========

configuration class for php

1.2.2(6y ago)123MITHTMLPHP &gt;=7.0.0

Since Sep 26Pushed 6y ago1 watchersCompare

[ Source](https://github.com/vurghus-minar/PHP-Configuration-Loader-Class)[ Packagist](https://packagist.org/packages/am/config)[ Docs](https://github.com/vurghus-minar/PHP-Configuration-Loader-Class)[ RSS](/packages/am-config/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (3)Versions (10)Used By (0)

PHP Configuration Loader Class
==============================

[](#php-configuration-loader-class)

About
-----

[](#about)

The PHP configuration loader class helps the management and loading of application configuration through arrays or Yaml configuration files.

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

[](#installation)

Via Composer:

```
composer require am/config
```

Or simply download the code and add to your project.

Example Use
-----------

[](#example-use)

config.yaml

```
root_path: C:/xampp/htdocs
base_url: /
directories:
  controllers: controllers
  models: models
  views: views
  core: core
test_number: 10
```

config-2.yaml

```
this name: config 2
this number: 10
test_number: 10
```

```
