userhub/sdk
最新稳定版本:v0.8.2
Composer 安装命令:
composer require userhub/sdk
包简介
UserHub PHP SDK
README 文档
README
The official UserHub PHP SDK.
Requirements
- PHP 8.2 or later
Getting Started
Install SDK
composer require userhub/sdk
Example
<?php require __DIR__.'/vendor/autoload.php'; use UserHub\AdminApi; $adminApi = new AdminApi('userhub_admin_123...'); $res = $adminApi->users->list(pageSize: 5); foreach ($res->users as $user) { echo $user->id.' '.$user->displayName.PHP_EOL; }
See the examples directory for more examples.
统计信息
- 总下载量: 14
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-02-06