invitecomm / partymanagement
dev-master
2019-02-01 07:59 UTC
Requires
- php: >=5.5
- ext-curl: *
- ext-json: *
- ext-mbstring: *
- guzzlehttp/guzzle: ^6.2
Requires (Dev)
- friendsofphp/php-cs-fixer: ~2.12
- phpunit/phpunit: ^4.8
- squizlabs/php_codesniffer: ~2.6
This package is auto-updated.
Last update: 2024-08-29 05:06:33 UTC
README
未提供描述(由 Swagger Codegen 生成 https://github.com/swagger-api/swagger-codegen)
此 PHP 包由 Swagger Codegen 项目自动生成
- API 版本:2.0
- 构建包:io.swagger.codegen.languages.PhpClientCodegen
要求
PHP 5.5 及以上版本
安装与使用
Composer
要通过 Composer 安装绑定,请将以下内容添加到 composer.json
{
"repositories": [
{
"type": "git",
"url": "https://github.com//.git"
}
],
"require": {
"/": "*@dev"
}
}
然后运行 composer install
手动安装
下载文件并包含 autoload.php
require_once('/path/to/SwaggerClient-php/vendor/autoload.php');
测试
要运行单元测试
composer install
./vendor/bin/phpunit
入门指南
请按照 安装流程 进行操作,然后运行以下命令
<?php require_once(__DIR__ . '/vendor/autoload.php'); $apiInstance = new Swagger\Client\Api\HubApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client() ); $hub = new \Swagger\Client\Model\Hub(); // \Swagger\Client\Model\Hub | try { $result = $apiInstance->hubCreate($hub); print_r($result); } catch (Exception $e) { echo 'Exception when calling HubApi->hubCreate: ', $e->getMessage(), PHP_EOL; } ?>
API 端点文档
所有 URI 都相对于 http://env-0693795.jelastic.servint.net/DSPartyManagement/api/partyManagement/v2
模型文档
授权文档
所有端点都不需要授权。