PHPackages                             pete-robinson/super-simple-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. pete-robinson/super-simple-config

ActiveLibrary

pete-robinson/super-simple-config
=================================

A super-simple config parser for small projects

0498PHP

Since Aug 31Pushed 8y ago1 watchersCompare

[ Source](https://github.com/pete-robinson/Super-Simple-Config)[ Packagist](https://packagist.org/packages/pete-robinson/super-simple-config)[ RSS](/packages/pete-robinson-super-simple-config/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Super-Simple-Config
===================

[](#super-simple-config)

Introduction
------------

[](#introduction)

A super-simple configuration manager that enables easy integration with YAML based configuration files.

Pass in the configuration YAML file location and the class will parse it and make its properties avaialble to you, with dot separated levels of nesting

Usage
-----

[](#usage)

Create a new instance of the config class and load in the config

### Example YAML Config File

[](#example-yaml-config-file)

```
config:
  database:
    host: 127.0.0.1
    user: username
    password: password
    name: db_name
  api:
    google:
      client_id: myclientid
      key: xxxxxxxxx
```

### Create a New Config Instance

[](#create-a-new-config-instance)

```
