streamcommon / excess-configuration
提供基于对象的默认配置
1.1.1
2022-03-31 12:22 UTC
Requires
- php: ^7.3 || ^8.0
- laminas/laminas-stdlib: ^3.2.1
Requires (Dev)
- malukenho/docheader: ^0.1.7
- php-coveralls/php-coveralls: ^2.1.0
- phpstan/phpstan: ^0.12.18
- phpunit/phpunit: ^9.1.1
- roave/security-advisories: dev-master
- streamcommon/coding-standard: dev-master
This package is auto-updated.
Last update: 2024-09-19 23:15:17 UTC
README
此包提供基于对象的默认excess配置。
分支
安装
控制台运行
composer require streamcommon/excess-configuration
或者将其添加到你的 composer.json
"require": { "streamcommon/excess-configuration": "*" }
示例
use Streamcommon\Excess\Configuration\{Credential, Connection}; $credential = new Credential([ 'username' => 'user', 'password' => 'password', ]); $connection = new Connection([ 'host' => 'localhost', 'port' => 8080 ]);