Confusable Homoglyphs

A PHP port of vhf/confusable_homoglyphs

git packagist

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.

Page History

This page was first added to the repository on February 16, 2022 in commit 7cc4e9b8 and has since been amended 6 times. View the source on GitHub.

  1. refactor(#304): move files into src folder
  2. chore(#110): sets dates for all projects so that they are ordered chronographically
  3. feat(#108): adds topics to some projects
  4. refactor(#108): moves projects into content collection
  5. feat :: adds project language meta