php-extended/php-api-org-unicode-object

A library that implements the php-extended/php-api-org-unicode-interface library

4.0.1 2022-06-09 05:33 UTC

This package is auto-updated.

Last update: 2022-08-09 06:00:18 UTC


README

A php API wrapper to interpret data files of the unicode consortium at www.unicode.org.

coverage build status

Installation

The installation of this library is made via composer. Download composer.phar from their website. Then add to your composer.json :

	"require": {
		...
		"php-extended/php-api-org-unicode-object": "^4",
		...
	}

Then run php composer.phar update to install this library. The autoloading of all classes of this library is made through composer's autoloader.

Basic Usage

You may use this library the following way :


use PhpExtended\UnicodeOrgApi\UnicodeOrgApiEndpoint;
use PhpExtended\Endpoint\HttpEndpoint;

/* @var $client \Psr\Http\Client\ClientInterface */

$endpoint = new UnicodeOrgApiEndpoint(new HttpEndpoint($http));

$blocks = $endpoint->getBlocks();	// returns \Iterator<UnicodeOrgApiBlock>

License

MIT (See license file).