2017 © Pedro Peláez
 

library roman

Provides a simple decimal/roman number converter

image

crazycodr/roman

Provides a simple decimal/roman number converter

  • Friday, September 16, 2016
  • by crazycodr
  • Repository
  • 1 Watchers
  • 5 Stars
  • 18,352 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 2 Versions
  • 12 % Grown

The README.md

ROMAN

Latest Version Software License Build Status Total Downloads, (*1)

Roman is a simple library to convert numbers from decimal to roman and vice versa., (*2)

Usage

$converter = new CrazyCodr\Converters\Roman();
$roman = $converter->toRoman(4999); //Outputs MMMMCMXCIX
$number = $converter->fromRoman('MMMMCMXCIX'); //Outputs 4999

System Requirements

You need PHP >= 5.0 although you should be using at least PHP >= 5.6 by now!, (*3)

Note that this library is only tested against PHP 5.6, 7.0 and HHVM but should work in any version!, (*4)

Install

Install Roman using Composer., (*5)

$ composer require crazycodr/roman

Testing

Roman has a PHPUnit test suite and a coding style compliance test suite using PHP CS Fixer. To run the tests, run the following command from the project folder., (*6)

bash $ composer test, (*7)

License

The MIT License (MIT). Please see LICENSE for more information., (*8)

The Versions

16/09 2016

dev-master

9999999-dev

Provides a simple decimal/roman number converter

  Sources   Download

MIT

The Development Requires

by Mathieu Dumoulin

roman convert format

19/02 2016

1.0.0

1.0.0.0

Provides a simple decimal/roman number converter

  Sources   Download

MIT

The Development Requires

by Mathieu Dumoulin

roman convert format