https://github.com/streamcommon/excess-configuration
Provide default object based configuration
https://github.com/streamcommon/excess-configuration
php-component php7 zend-options zend-stdlib
Last synced: about 1 year ago
JSON representation
Provide default object based configuration
- Host: GitHub
- URL: https://github.com/streamcommon/excess-configuration
- Owner: streamcommon
- License: bsd-3-clause
- Created: 2019-02-05T15:07:09.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2023-04-19T19:19:08.000Z (almost 3 years ago)
- Last Synced: 2025-01-17T20:15:30.440Z (about 1 year ago)
- Topics: php-component, php7, zend-options, zend-stdlib
- Language: PHP
- Size: 111 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# excess-configuration
[](https://packagist.org/packages/streamcommon/excess-configuration)
[](https://packagist.org/packages/streamcommon/excess-configuration)
[](./LICENSE)
This package provide default ~~excess~~ object based configuration.
# Branches
[![Master][Master branch image]][Master branch] [![Build Status][Master image]][Master] [![Coverage Status][Master coverage image]][Master coverage]
[![Develop][Develop branch image]][Develop branch] [![Build Status][Develop image]][Develop] [![Coverage Status][Develop coverage image]][Develop coverage]
## Installation
Console run:
```console
composer require streamcommon/excess-configuration
```
Or add into your `composer.json`:
```json
"require": {
"streamcommon/excess-configuration": "*"
}
```
## Example
```php
use Streamcommon\Excess\Configuration\{Credential, Connection};
$credential = new Credential([
'username' => 'user',
'password' => 'password',
]);
$connection = new Connection([
'host' => 'localhost',
'port' => 8080
]);
```
[Master branch]: https://github.com/streamcommon/excess-configuration/tree/master
[Master branch image]: https://img.shields.io/badge/branch-master-blue.svg
[Develop branch]: https://github.com/streamcommon/excess-configuration/tree/develop
[Develop branch image]: https://img.shields.io/badge/branch-develop-blue.svg
[Master image]: https://travis-ci.org/streamcommon/excess-configuration.svg?branch=master
[Master]: https://travis-ci.org/streamcommon/excess-configuration
[Master coverage image]: https://coveralls.io/repos/github/streamcommon/excess-configuration/badge.svg?branch=master
[Master coverage]: https://coveralls.io/github/streamcommon/excess-configuration?branch=master
[Develop image]: https://travis-ci.org/streamcommon/excess-configuration.svg?branch=develop
[Develop]: https://travis-ci.org/streamcommon/excess-configuration
[Develop coverage image]: https://coveralls.io/repos/github/streamcommon/excess-configuration/badge.svg?branch=develop
[Develop coverage]: https://coveralls.io/github/streamcommon/excess-configuration?branch=develop