2017 © Pedro PelĂĄez
 

library php-confusable-homoglyphs

PHP port of the Python library confusable_homoglyphs

image

photogabble/php-confusable-homoglyphs

PHP port of the Python library confusable_homoglyphs

  • Wednesday, February 21, 2018
  • by carbontwelve
  • Repository
  • 3 Watchers
  • 21 Stars
  • 19 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 1 Forks
  • 1 Open issues
  • 7 Versions
  • 6 % Grown

The README.md

Confusable Homoglyphs

A PHP port of vhf/confusable_homoglyphs, (*1)

Build Status Latest Stable Version License , (*2)

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), (*3)

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., (*4)

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., (*5)

This library is compatible with PHP versions 7.3 and above., (*6)

Install

Install this library with composer: composer require photogabble/php-confusable-homoglyphs., (*7)

Usage

Please see the tests for detailed example of usage., (*8)

Known Usage

Is the data up to date?

This project currently ships with unicode consortium public data version 16.0.0., (*9)

The unicode blocks aliases and names for each character are extracted from this file provided by the unicode consortium., (*10)

The matrix of which character can be confused with which other characters is built using this file provided by the unicode consortium., (*11)

The version this project currently ships with was generated on the 1st May 2025., (*12)

The Versions

21/02 2018

dev-dev-1.1.0

dev-dev-1.1.0

PHP port of the Python library confusable_homoglyphs

  Sources   Download

MIT

The Requires

  • php >=7.0.0

 

The Development Requires

unicode confusable homoglyphs

21/02 2018

dev-issue1

dev-issue1

PHP port of the Python library confusable_homoglyphs

  Sources   Download

MIT

The Requires

  • php >=7.0.0

 

The Development Requires

unicode confusable homoglyphs

21/02 2018

dev-master

9999999-dev

PHP port of the Python library confusable_homoglyphs

  Sources   Download

MIT

The Requires

 

The Development Requires

unicode confusable homoglyphs

19/02 2018

dev-issue4

dev-issue4

PHP port of the Python library confusable_homoglyphs

  Sources   Download

MIT

The Requires

  • php >=7.0.0

 

The Development Requires

unicode confusable homoglyphs

19/02 2018

1.0.2

1.0.2.0

PHP port of the Python library confusable_homoglyphs

  Sources   Download

MIT

The Requires

 

The Development Requires

unicode confusable homoglyphs

14/02 2018

1.0.1

1.0.1.0

PHP port of the Python library confusable_homoglyphs

  Sources   Download

MIT

The Requires

  • php >=7.0.0

 

The Development Requires

unicode confusable homoglyphs

13/02 2018

1.0.0

1.0.0.0

PHP port of the Python library confusable_homoglyphs

  Sources   Download

MIT

The Requires

  • php >=7.0.0

 

The Development Requires

unicode confusable homoglyphs