inserve/routit-api-php

A PHP wrapper for the RoutIT API

0.1.1 2024-05-07 14:05 UTC

This package is auto-updated.

Last update: 2024-05-07 14:57:08 UTC


README

PHP Version Require

Status

workflow Latest Stable Version Latest Unstable Version License

About

A PHP Wrapper for the RoutIT API

Installation

composer require inserve/routit-api-php

Usage example

<?php

use Inserve\RoutITAPI\RoutITAPIClient;

require 'vendor/autoload.php';

$apiClient = new RoutITAPIClient(
    baseUri: 'https://service.grexx.today'
);

$apiClient->configure(
    'username',
    'password',
    'interfaces/routit/id'
);

$result = $apiClient->getCustomerData();