nas-service / client
1.0.14
2021-10-12 10:59 UTC
Requires
- sensio/framework-extra-bundle: ^5.5
- symfony/config: 4.4.*
- symfony/filesystem: 4.4.*
- symfony/http-client: 4.4.*
- symfony/yaml: 4.4.*
README
安装
将仓库添加到您的composer.json中
"repositories": {
"nas-service": {
"type": "vcs",
"url": "https://gitlab.com/nas-service/client.git"
}
}
然后运行
composer require nas-service/client
在path/to/root/config/nas_service_client.php路径下创建配置文件
nas_service_client.php文件
<?php
return [
'environment' => 'dev',
'host' => 'hrzn.io'
];
开发
示例使用
<?php
use NasService\NasServiceClient;
$client = (new NasServiceClient())->getClient();