2017 © Pedro Peláez
 

library numeral-system

Numeral System

image

negasus/numeral-system

Numeral System

  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Negasus\NumeralSystem

Latest Version on Packagist ![Software License][ico-license] Build Status ![Total Downloads][ico-downloads], (*1)

Code and decode numbers with any numeral system., (*2)

Bin, Hex, your numeral systems with custom alphabet!, (*3)

More info in the wiki, (*4)

Structure

src/
tests/
vendor/

Install

Via Composer, (*5)

``` bash $ composer require negasus/numeralsystem, (*6)


## Usage ``` php $numeralSystem = new Negasus\NumeralSystem(); // Default alphabet echo $numeralSystem->encode(1048576); // see: 4OmW $numeralSystem->setAlphabet($numeralSystem::ALPHABET_HEX); echo $numeralSystem->encode(172224397); // see: A43EF8D $numeralSystem->setAlphabet('AbCd'); echo $numeralSystem->encode(172224397); // see: CCbAAddCddCAdb

More info in the wiki, (*7)

Change log

Please see CHANGELOG for more information on what has changed recently., (*8)

Testing

bash $ composer test, (*9)

License

The MIT License (MIT). Please see License File for more information., (*10)

The Versions

13/02 2017

dev-master

9999999-dev https://github.com/Negasus/NumeralSystem

Numeral System

  Sources   Download

MIT

The Requires

  • php ~5.6|~7.0

 

The Development Requires

numeral system negasus

13/02 2017

1.0

1.0.0.0 https://github.com/Negasus/NumeralSystem

Numeral System

  Sources   Download

MIT

The Requires

  • php ~5.6|~7.0

 

The Development Requires

numeral system negasus