tecnickcom/tc-lib-unicode-data

PHP library containing Unicode definitions

Maintainers

Package info

github.com/tecnickcom/tc-lib-unicode-data

Homepage

pkg:composer/tecnickcom/tc-lib-unicode-data

Statistics

Installs: 825 340

Dependents: 3

Suggesters: 0

Stars: 5

Open Issues: 0


README

Unicode data tables and constants used by the Tecnick text stack.

Latest Stable Version Build Coverage License Downloads

Donate via PayPal

If this repository helps your text-processing stack, please consider supporting development via PayPal.

Overview

tc-lib-unicode-data is a data-centric package that provides Unicode lookup tables, mappings, and constants consumed by tc-lib-unicode and related libraries.

It externalizes large Unicode datasets into a dedicated package so runtime libraries can stay focused on algorithms instead of data distribution. Versioned data updates also become easier to manage and review as Unicode standards evolve.

Namespace \Com\Tecnick\Unicode\Data
Author Nicola Asuni info@tecnick.com
License GNU LGPL v3 - see LICENSE
API docs https://tcpdf.org/docs/srcdoc/tc-lib-unicode-data
Packagist https://packagist.org/packages/tecnickcom/tc-lib-unicode-data

Features

Data Coverage

  • Unicode property and identity constants
  • Script/category mapping data
  • Bracket, mirroring, and shaping-related tables

Integration Role

  • Runtime dependency for higher-level Unicode processing
  • Pure data distribution, no heavy runtime logic
  • Deterministic, versioned updates

Requirements

  • PHP 8.1 or later
  • Composer

Installation

composer require tecnickcom/tc-lib-unicode-data

Quick Start

<?php

require_once __DIR__ . '/vendor/autoload.php';

echo md5(\Com\Tecnick\Unicode\Data\Identity::CIDHMAP);

Development

make deps
make help
make qa

Packaging

make rpm
make deb

For system packages, bootstrap with:

require_once '/usr/share/php/Com/Tecnick/Unicode/Data/autoload.php';

Contributing

Contributions are welcome. Please review CONTRIBUTING.md, CODE_OF_CONDUCT.md, and SECURITY.md.

Contact

Nicola Asuni - info@tecnick.com