warrant-dev/warrant-php 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

warrant-dev/warrant-php

最新稳定版本:v0.1.0

Composer 安装命令:

composer require warrant-dev/warrant-php

包简介

PHP Client SDK for Warrant

README 文档

README

Use Warrant in PHP projects.

Latest Stable Version License

Installation

Install the SDK using Composer:

composer require warrant-dev/warrant-php

Include the SDK using Composer's autoload:

require_once('vendor/autoload.php');

Usage

Import the Warrant client and pass your API key to the constructor to get started:

$warrant = new \Warrant\Client(
    new \Warrant\Config("api_test_f5dsKVeYnVSLHGje44zAygqgqXiLJBICbFzCiAg1E=")
);

$newUser = $warrant->createUser(new \Warrant\User("my-user-id"));

We’ve used a random API key in these code examples. Replace it with your actual publishable API keys to test this code through your own Warrant account.

For more information on how to use the Warrant API, please refer to the Warrant API reference.

Warrant Documentation

统计信息

  • 总下载量: 9
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 7
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-09-30