streamcommon/excess-configuration

Provide default object based configuration

1.1.1 2022-03-31 12:22 UTC

README

Latest Stable Version Total Downloads License

This package provide default excess object based configuration.

Branches

Master Build Status Coverage Status

Develop Build Status Coverage Status

Installation

Console run:

    composer require streamcommon/excess-configuration

Or add into your composer.json:

    "require": {
        "streamcommon/excess-configuration": "*"
    }

Example

    use Streamcommon\Excess\Configuration\{Credential, Connection};

    $credential = new Credential([
        'username' => 'user',
        'password' => 'password',
    ]);
    
    $connection = new Connection([
        'host' => 'localhost',
        'port' => 8080
    ]);