定制 crazycodr/roman 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

crazycodr/roman

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.

统计信息

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

GitHub 信息

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

其他信息

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

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固