Giter Club home page Giter Club logo

easier's Introduction

Easier

Express Alphanumeric Symbol Identification with Error Reduction

Easier is a base-27 encoder/decoder designed to reduce human error when inputting encoded strings.

The goal of Easier is to simplify transmitting data between humans and computers by collapsing glyphs of similar appearance. For example, humans often have difficulty determining whether they’re looking at a lowercase ‘l’ or a capital ‘I’. Easier makes this ambiguity immaterial.

Easier enables confidently sharing strings even in media where print quality or font choice may render some glyphs difficult to decipher. Easier-encoded strings are particularly useful in shortened URLs destined to be shared in print, written by hand, or glimpsed in passing.

Installation

If you use Packagist, add rfreebern/easier to the "requirements" section of your composer.json and run composer.phar update.

Usage

Include the library: use rfreebern\Easier as Easier;

Encode a decimal number: $encoded = Easier::encode(8675309);

Decode an Easier number: $number = Easier::decode($encoded);

Easier can also be used in object context:

$easier = new Easier(69105);
$encoded = $easier->encode();
$another = $easier->encode(1048576);

Tests

Easier has a full PHPUnit test suite. Simply run phpunit . in the Easier root directory.

Similar Projects

easier's People

Contributors

rfreebern avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Forkers

gerhobbelt

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.