vexura/openprovider-sdk-client 问题修复 & 功能扩展

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

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

vexura/openprovider-sdk-client

Composer 安装命令:

composer require vexura/openprovider-sdk-client

包简介

A full-featured implementation of the openprovider API

README 文档

README

Latest Version Composer Downloads

This PHP 7.0+ library allows you to communicate with the OpenProvider API.

Getting Started

Recommended installation is using Composer!

In the root of your project execute the following:

$ composer require vexura/openprovider-sdk-client

Or add this to your composer.json file:

{
    "require": {
        "vexura/openprovider-sdk-client": "^1.0"
    }
}

Then perform the installation:

$ composer install --no-dev

Examples

Get Domain Pricelist

<?php
// Require the autoloader
require_once 'vendor/autoload.php';

// Use the library namespace
use Vexura/OpenProvider;

// Then simply pass your OpenProvider-Token when creating the OpenProvider client object.
$client = new OpenProvider('username', 'password');

// Then you are able to perform a request
var_dump($client->domain()->getPricelist());
?>

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: BSD-2-Clause
  • 更新时间: 2024-07-02