PHPackages                             codefroghub/roma - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. codefroghub/roma

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

codefroghub/roma
================

utility to work with roma numbers.

0.1.1(9y ago)023MITPHPPHP &gt;=5.6

Since Aug 24Pushed 9y ago2 watchersCompare

[ Source](https://github.com/CodeFrogHub/php-roma)[ Packagist](https://packagist.org/packages/codefroghub/roma)[ Docs](https://github.com/CodeFrogHub/php-roma)[ RSS](/packages/codefroghub-roma/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (2)Versions (3)Used By (0)

ROMA
====

[](#roma)

utility to work with roma numbers.

[![Build Status](https://camo.githubusercontent.com/e9d134a64cdf4af5a280e0d7cf592a9ae8c76165f86d070bbe87226d76ff61c2/68747470733a2f2f7472617669732d63692e6f72672f436f646546726f674875622f7068702d726f6d612e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/CodeFrogHub/php-roma)

FROM PHPUNTI STARTER
--------------------

[](#from-phpunti-starter)

### Prerequisite

[](#prerequisite)

1. PHP ()
2. Composer ()
3. PHPUnit ()

For command line use, please setup properly for global environment.

### Installation

[](#installation)

Install phpunit for project

```
composer install

```

### Folder Structures

[](#folder-structures)

```
Project/
    |-- src/    (php source code)
    |-- tests/  (Testing files)
    |-- composer.json   (Composer configuration file)
    |-- phpunit.xml     (PHPUnit configuration file)

```

### Run PHPUnit

[](#run-phpunit)

Run all testing files in tests/ folder with color highlight

```
phpunit tests/ --colors

```

### Basic PHP Test File

[](#basic-php-test-file)

1. Class with `Test` for naming convention.
2. Test Class MUST extends `PHPUnit_Framework_TestCase`
3. Method name starts with `test` or with annotation `/** @test */`

```
