定制 alpifra/daxium-php 二次开发

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

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

alpifra/daxium-php

Composer 安装命令:

composer require alpifra/daxium-php

包简介

A basic PHP client interracting with the Daxium Air API V1.3 services.

README 文档

README

A basic and stand-alone PHP client interracting with the Daxium Air API V1.3 services. For more information about the API please see the documentation.

Installation

The recommended way to install Daxium API PHP client is through composer:

composer require alpifra/daxium-php

But you can also install through the Github repository:

{
    "requires": {
        "alpifra/daxium-php": "dev-master",
        ...
    }
    "repositories": [
        {
            "type": "vcs",
            "url": "https://github.com/Alpifra/daxium-php.git"
        }
    ],
}

Usage

Instanciate client

<?php

$client = new Alpifra\DaxiumPHP\Daxium(
    '***CLIENT_ID***',
    '***CLIENT_SECRET***',
    '***USERNAME***',
    '***PASSWORD***',
);

All various client

<?php

$listClient       = new Alpifra\DaxiumPHP\Client\Listing('***CLIENT_ID***', '***CLIENT_SECRET***', '***USERNAME***', '***PASSWORD***');
$reportClient     = new Alpifra\DaxiumPHP\Client\Report('***CLIENT_ID***', '***CLIENT_SECRET***', '***USERNAME***', '***PASSWORD***');
$structureClient  = new Alpifra\DaxiumPHP\Client\Structure('***CLIENT_ID***', '***CLIENT_SECRET***', '***USERNAME***', '***PASSWORD***');
$submissionClient = new Alpifra\DaxiumPHP\Client\Submission('***CLIENT_ID***', '***CLIENT_SECRET***', '***USERNAME***', '***PASSWORD***');
$taskClient       = new Alpifra\DaxiumPHP\Client\Task('***CLIENT_ID***', '***CLIENT_SECRET***', '***USERNAME***', '***PASSWORD***');
$userClient       = new Alpifra\DaxiumPHP\Client\User('***CLIENT_ID***', '***CLIENT_SECRET***', '***USERNAME***', '***PASSWORD***');

Contribution

This package only implement the Daxium API services that I need, but you're welcome to contribute to this repository with your own implementation by sending me a PR. Happy coding !

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-10-18