tecnickcom/tc-lib-unicode-data
PHP library containing Unicode definitions
Maintainers
Fund package maintenance!
Requires
- php: >=8.1
Requires (Dev)
- pdepend/pdepend: ^2.16
- phpunit/phpunit: ^11.5 || ^12.5 || ^13.2
Suggests
None
Provides
None
Conflicts
None
Replaces
None
LGPL-3.0-or-later 3b405f971250405a25fc5554515fdc06ff8bb01b
- Nicola Asuni <info.woop@tecnick.com>
This package is auto-updated.
Last update: 2026-06-16 09:01:17 UTC
README
Unicode data tables and constants used by the Tecnick text stack.
👁 Latest Stable Version
👁 Build
👁 Coverage
👁 License
👁 Downloads
If this project is useful to you, please consider supporting development via GitHub Sponsors.
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.2 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.
