All Projects → photogabble → Php Confusable Homoglyphs

photogabble / Php Confusable Homoglyphs

Licence: mit
A PHP port of https://github.com/vhf/confusable_homoglyphs

Projects that are alternatives of or similar to Php Confusable Homoglyphs

Ustring
The Hoa\Ustring library.
Stars: ✭ 403 (+1392.59%)
Mutual labels:  library, unicode, string
Str
A fast, solid and strong typed string manipulation library with multibyte support
Stars: ✭ 199 (+637.04%)
Mutual labels:  library, string
Contour
Modern C++ Terminal Emulator
Stars: ✭ 191 (+607.41%)
Mutual labels:  library, unicode
widestring-rs
A wide string Rust library for converting to and from wide Unicode strings.
Stars: ✭ 48 (+77.78%)
Mutual labels:  unicode, string
Sheenbidi
A sophisticated implementation of Unicode Bidirectional Algorithm
Stars: ✭ 52 (+92.59%)
Mutual labels:  library, unicode
Validatetor
Android library for fast and simple string validation
Stars: ✭ 136 (+403.7%)
Mutual labels:  library, string
couplet
Unicode code points support for Clojure
Stars: ✭ 21 (-22.22%)
Mutual labels:  unicode, string
String Extra
Unicode/String support for Twig
Stars: ✭ 92 (+240.74%)
Mutual labels:  unicode, string
Portable Utf8
🉑 Portable UTF-8 library - performance optimized (unicode) string functions for php.
Stars: ✭ 405 (+1400%)
Mutual labels:  unicode, string
String
Provides an object-oriented API to strings and deals with bytes, UTF-8 code points and grapheme clusters in a unified way.
Stars: ✭ 709 (+2525.93%)
Mutual labels:  unicode, string
Tinystr
A small ASCII-only bounded length string representation.
Stars: ✭ 48 (+77.78%)
Mutual labels:  library, string
Stringplus
Funny and minimal string library for C++ inspired by underscore.string
Stars: ✭ 7 (-74.07%)
Mutual labels:  library, string
Unicode Bidirectional
A Javascript implementation of the Unicode 9.0.0 Bidirectional Algorithm
Stars: ✭ 35 (+29.63%)
Mutual labels:  library, unicode
Harfbuzz
HarfBuzz text shaping engine
Stars: ✭ 2,206 (+8070.37%)
Mutual labels:  library, unicode
Voca rs
Voca_rs is the ultimate Rust string library inspired by Voca.js, string.py and Inflector, implemented as independent functions and on Foreign Types (String and str).
Stars: ✭ 167 (+518.52%)
Mutual labels:  unicode, string
cs string
Header-only library providing unicode aware string support for C++
Stars: ✭ 91 (+237.04%)
Mutual labels:  unicode, string
Tiny Utf8
Unicode (UTF-8) capable std::string
Stars: ✭ 322 (+1092.59%)
Mutual labels:  unicode, string
Slug Generator
Slug Generator Library for PHP, based on Unicode’s CLDR data
Stars: ✭ 740 (+2640.74%)
Mutual labels:  library, unicode
Idutf8lib
Idiot's UTF-8 Library
Stars: ✭ 12 (-55.56%)
Mutual labels:  library, unicode
Drf Tus
A Tus (tus.io) library for Django Rest Framework
Stars: ✭ 15 (-44.44%)
Mutual labels:  library

Confusable Homoglyphs

A PHP port of vhf/confusable_homoglyphs

Build Status Latest Stable Version License

About this package

Unicode homoglyphs can be a nuisance on the web. Your most popular client, AlaskaJazz, might be upset to be impersonated by a trickster who deliberately chose the username ΑlaskaJazz. (The A is the greek letter capital alpha)

This is a complete port of the Python library vhf/confusable_homoglyphs to PHP. I found myself needing its functionality after reading this article by James Bennett on validating usernames and how django-registration does so.

A huge thank you goes to the Python package creator Victor Felder and its contributors Ryan Kilby and muusik; without their work this port would not exist.

This library is compatible with PHP versions 7.0 and above.

Install

Install this library with composer: composer require photogabble/php-confusable-homoglyphs.

Usage

Please see the tests for detailed example of usage.

Known Usage

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].