定制 afosto/io-sdk 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

afosto/io-sdk

最新稳定版本:1.13.32

Composer 安装命令:

composer require afosto/io-sdk

包简介

Afosto IO SDK

README 文档

README

The Afosto.io SDK for PHP makes it easy for developers to access and use afosto-io services.

Getting Started

If you run into any problems please do not hesitate to open an issue at this repository.

Docs

API documentation can be found at https://developers.afosto.io.

Prerequisites

To get started you'll need:

  • a free afosto.io account (signup here)
  • make sure you have composer installed to get started quickly
  • php 7

Installing

You can easily install the client through composer:

composer require afosto/io-sdk

Built with

  • JanePHP - For generation the api client
  • Swagger - API management tool
  • Redoc - Great API documentation tool

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

Example

Connecting with the SDK is easy. You instantiate the sdk with client credentials, and you are ready to make requests additionaly you can add the scopes you want you your request

$scopes = ['iam:users:create'];
$client = new \Afosto\Sdk\Sdk("1234","123456",$scopes);
$user = $client->getAuthorizedClient()->createUser(
    (new \Afosto\Sdk\Model\IamUserModel)
        ->setEmail("info@afosto.com")
        ->setFirstName("info")
        ->setLastName("afosto")
);

//prints the created user id
print_r($user->getId());

License

This project is licensed under the MIT License - see the LICENSE.md file for details

统计信息

  • 总下载量: 1.2k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 3
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2019-07-23

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固