承接 crazycodr/roman 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

crazycodr/roman

最新稳定版本:1.0.1

Composer 安装命令:

composer require crazycodr/roman

包简介

Provides a simple decimal/roman number converter

README 文档

README

Latest Version Software License Build Status Total Downloads

Roman is a simple library to convert numbers from decimal to roman and vice versa.

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!

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

Install

Install Roman using Composer.

$ 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.

$ composer test

License

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

统计信息

  • 总下载量: 88.05k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 7
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 7
  • Watchers: 0
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2016-02-18