Download the PHP package jordanbrauer/runes without Composer
On this page you can find all versions of the php package jordanbrauer/runes. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package runes
Runes
A low-level string character analysis library for PHP.
See compart unicode documentation for useful information about unicode characters that PHP does not handle yet.
Features:
- Per-character (multi-byte aware) analysis;
- Script detection, differentiating look-a-like characters (see IDN homograph attack);
- Character encoding detection & conversion;
- Various serialization formats;
Setup
Instructions on how to set this repository up for use in your own project, or as a develper contributing to this one.
Requirements
There are not many requirements for this library. All of them are host machine related.
- PHP
>= 7.1
; - PHP Intl extension;
- libicu;
Installation
Use composer and your autoloader.
For Contributors:
Clone the repository and install the development tools to begin running tests for your features & bug fixes.
Usage
Using the library is super simple. For a quick example, let's analyze the ancient, yet strangely familiar, ᛒ
from the Elder Futhark writing system!
Would output the following data about the glyph.
Motivation
Unicode is awesome. However, it can be the source of much pain for programmers. This tool aims to help alleviate said pain by providing a low-level/generic API that allows you to focus on the problem without getting bogged down with UTF-8 and it's cousins.
Project Name
Originally, the name of this project was UTFH8; a tongue-in-cheek word-play on the UTF-8 encoding algorithm and the (very strong) English word, "hate", by using the number eight in place of the letters "a-t-e", insinutating that at some point in every developer's career, they will say – "I hate unicode".
Now, the project has been renamed to Runes, inspired by Go's rune type, and the Elder Futhark – something less harsh & sinister sounding.
All versions of runes with dependencies
ext-intl Version *