konfig / 自动化测试子模块-Php-SDK
用于测试自动化工作流的SDK(无子模块)。
v1.0.5
2024-07-26 06:26 UTC
Requires
- php: ^8.0
- ext-curl: *
- ext-json: *
- ext-mbstring: *
- guzzlehttp/guzzle: ^7.3
- guzzlehttp/psr7: ^1.7 || ^2.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.5
- phpunit/phpunit: ^8.0 || ^9.0
This package is auto-updated.
Last update: 2024-08-26 06:45:12 UTC
README
用于测试自动化工作流的SDK(无子模块)。
目录
安装与使用
要求
此库需要 PHP ^8.0
Composer
要通过 Composer 安装绑定,请将以下内容添加到 composer.json
{ "repositories": [ { "type": "vcs", "url": "https://github.com/konfig-dev/automation-test-submodule-php.git" } ], "require": { "konfig/automation-test-submodule-php": "1.0.5" } }
然后运行 composer install
手动安装
下载文件并包含 autoload.php
<?php require_once('/path/to/automation-test-with-submodules-php-sdk/vendor/autoload.php');
入门
请遵循安装程序,然后运行以下命令
<?php require_once(__DIR__ . '/vendor/autoload.php'); $automationtestwithsubmodules = new \AutomationTestWithSubmodules\Client( ); $result = $automationtestwithsubmodules->greetings->hello();
参考
automationtestwithsubmodules.greetings.hello
获取简单的问候语!!!
🛠️ 使用
$result = $automationtestwithsubmodules->greetings->hello();
🔄 返回
🌐 端点
/hello
GET
作者
此PHP软件包由Konfig自动生成