Skip to content

A basic and stand-alone PHP client interracting with the Daxium Air API V1.3 services.

Notifications You must be signed in to change notification settings

Alpifra/daxium-php

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PHP Daxium API

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 !

About

A basic and stand-alone PHP client interracting with the Daxium Air API V1.3 services.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages