uwaziimobile/uwazii-php

Uwazii Mobile PHP Bindings

v1.0.1.3 2023-03-19 14:32 UTC

This package is auto-updated.

Last update: 2025-08-19 20:41:09 UTC


README

The Uwazii MOBILE PHP library provides convenient access to the Uwazii API from applications written in the PHP language. It includes a pre-defined set of classes for API resources that initialize themselves dynamically from API responses.

Requirements

PHP 5.6.0 and later.

Manual Installation

You can download the latest release. Then, to use the bindings, include the main file.

require_once '/path/to/uwazii-php/src/UwaziiClient.php';

Dependencies

The bindings require the following extensions in order to work properly:

  • curl, although you can use your own non-cURL client if you prefer
  • json
  • mbstring (Multibyte String)

If you use Composer, these dependencies should be handled automatically. If you install manually, you'll want to make sure that these extensions are available.

Getting Started

Simple usage looks like:

use Uwazii\UwaziiClient as Uwaziimobile;
$uwazii = new \Uwaziimobile();
$access_token = $uwazii->accessToken(YOUR_USERNAME,YOUR_PASSWORD);
$response = $uwazii->sendMessage($access_token,'SENDERID','PHONE','MESSAGE');

echo $response;

Documentation

See the Uwazii API docs.