承接 mnovik/zadarma-php-sdk 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

mnovik/zadarma-php-sdk

最新稳定版本:v1.0.4

Composer 安装命令:

composer require mnovik/zadarma-php-sdk

包简介

A PHP package to access the Zadarma API by a comprehensive way.

README 文档

README

A PHP package to access the Zadarma API by a comprehensive way.

Installation

The preferred way to install this extension is through composer.

With Composer installed, you can then install the extension using the following commands:

$ php composer.phar require jlorente/zadarma-php-sdk

or add

...
    "require": {
        "jlorente/zadarma-php-sdk": "*"
    }

to the require section of your composer.json file.

Configuration

You can set the api keys as environment variables or add them later on Zadarma class instantiation.

The name of the environment variables are ZADARMA_API_KEY and ZADARMA_API_SECRET.

Usage

Endpoints calls must done through the Zadarma class.

If you haven't set the environment variables previously, remember to provide them on instantiation.

$zadarma = new \Jlorente\Zadarma\Zadarma($apiKey, $apiSecret);
$zadarma->api()->getBalance();

All the API methods are well documented in the Jlorente\Zadarma\Api class.

License

Copyright © 2019 José Lorente Martín jose.lorente.martin@gmail.com.

Licensed under the BSD 3-Clause License. See LICENSE.txt for details.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2024-08-09