Download the PHP package tecnickcom/tc-lib-unicode-data without Composer

On this page you can find all versions of the php package tecnickcom/tc-lib-unicode-data. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package tc-lib-unicode-data

tc-lib-unicode-data

Unicode data tables, mappings and constants for PHP text processing.

Latest Stable Version Build Coverage License Downloads

Sponsor on GitHub

💖 Part of the tc-lib-pdf / TCPDF ecosystem (100M+ installs). Sponsor its maintenance →


Overview

tc-lib-unicode-data provides the Unicode lookup tables, mappings and constants used by tc-lib-unicode and related libraries.

Namespace \Com\Tecnick\Unicode\Data
Author Nicola Asuni [email protected]
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

Classes

Class Content
Type Bidi_Class of every code point, with getType() and getBidiClass()
BidiClass Backed enum of the strong, weak and neutral bidirectional classes
Constant Code points of the bidirectional formatting characters and of some common separators
Pattern Regular expressions matching right-to-left and Arabic text
Mirror Mirrored form of the characters mirrored in a right-to-left context
Bracket Paired brackets, by opening and by closing code point
Arabic Joining types, presentation forms and ligatures, with getJoiningType()
Encoding Character code to glyph name maps of 22 font encodings
Latin Unicode to Latin1 character substitutions
Identity CMap stream for the Identity-H encoding

Requirements


Installation


Quick Start

Type::getBidiClass() returns the same class as a BidiClass enum case, and null for the explicit formatting codes (LRE, LRO, RLE, RLO, PDF, LRI, RLI, FSI, PDI).


Generated data

Type, Pattern, Mirror, Bracket and Arabic are generated from the Unicode Character Database by tools/generate.php; Type::UNICODE_VERSION reports the version they derive from.

Class UCD source
Type extracted/DerivedBidiClass.txt
Pattern extracted/DerivedBidiClass.txt
Mirror BidiMirroring.txt
Bracket BidiBrackets.txt
Arabic ArabicShaping.txt, UnicodeData.txt

Type::UNI only lists the code points whose Bidi_Class is not L; Type::getType() resolves any code point, including the blocks whose unassigned code points default to R, AL or ET.

To rebuild the tables from a UCD release:


Development


Packaging

For system packages, bootstrap with:


Contributing

Contributions are welcome. Please review SECURITY.md.


All versions of tc-lib-unicode-data with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package tecnickcom/tc-lib-unicode-data contains the following files

Loading the files please wait ...