PHPackages                             wandersonwhcr/illuminate-romans - 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. [Validation &amp; Sanitization](/categories/validation)
4. /
5. wandersonwhcr/illuminate-romans

ActiveLibrary[Validation &amp; Sanitization](/categories/validation)

wandersonwhcr/illuminate-romans
===============================

Laravel Illuminate Romans Integration

v3.0.0(4y ago)08.4k4MITPHPPHP &gt;=8.0CI failing

Since Jan 29Pushed 4y ago1 watchersCompare

[ Source](https://github.com/wandersonwhcr/illuminate-romans)[ Packagist](https://packagist.org/packages/wandersonwhcr/illuminate-romans)[ RSS](/packages/wandersonwhcr-illuminate-romans/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (5)Dependencies (10)Versions (15)Used By (0)

illuminate-romans
=================

[](#illuminate-romans)

Laravel Illuminate Romans Integration

[![Build Status](https://github.com/wandersonwhcr/illuminate-romans/actions/workflows/test.yml/badge.svg?branch=main)](https://github.com/wandersonwhcr/illuminate-romans/actions/workflows/test.yml?query=branch%3Amain)[![Latest Stable Version](https://camo.githubusercontent.com/a333dcfec9a3fb61fa6aab267743593c888c4d3ee109881608e7c4df54e35a85/68747470733a2f2f706f7365722e707567782e6f72672f77616e646572736f6e776863722f696c6c756d696e6174652d726f6d616e732f762f737461626c653f666f726d61743d666c6174)](https://packagist.org/packages/wandersonwhcr/illuminate-romans)[![License](https://camo.githubusercontent.com/283415e61faff85e93a9815e1c0a191dc5aaf870d8dc3189a55dd94eab58e9ca/68747470733a2f2f706f7365722e707567782e6f72672f77616e646572736f6e776863722f696c6c756d696e6174652d726f6d616e732f6c6963656e73653f666f726d61743d666c6174)](https://packagist.org/packages/wandersonwhcr/illuminate-romans)

Description
-----------

[](#description)

This package provides a Laravel integration for [Romans](https://github.com/wandersonwhcr/romans) library, providing tools to filter `string` with a Roman number to `int` and vice-versa.

Installation
------------

[](#installation)

This package uses Composer as default repository. You can install it adding the name of package in `require` attribute of `composer.json`, pointing to the last stable version.

```
{
  "require": {
    "wandersonwhcr/illuminate-romans": "^3.0"
  }
}
```

Usage
-----

[](#usage)

This package provides facades and helpers to use with Laravel projects. Also, it was developed as a Laravel Package to automatically configure services inside application.

### Facades

[](#facades)

Illuminate Romans provides a couple of facades to convert a `string` with Roman number to `int` and an Integer to a `string` that represents the input as Roman number.

```
use Illuminate\Romans\Support\Facades\IntToRoman as IntToRomanFacade;
use Illuminate\Romans\Support\Facades\RomanToInt as RomanToIntFacade;

$value = 'MCMXCIX';

$value = RomanToIntFacade::filter($value); // 1999
$value = IntToRomanFacade::filter($value); // MCMXCIX
```

### Helpers

[](#helpers)

Also, this package includes helpers as a bridge to facades.

```
$value = 'MCMXCIX';

$value = roman_to_int($value); // 1999
$value = int_to_roman($value); // MCMXCIX
```

Development
-----------

[](#development)

You can use Docker Compose to build an image and run a container to develop and test this package.

```
docker-compose build
docker-compose run --rm romans composer install
docker-compose run --rm romans composer test
```

License
-------

[](#license)

This package is opensource and available under MIT license described in [LICENSE](https://github.com/wandersonwhcr/laravel-romans/blob/main/LICENSE).

###  Health Score

37

—

LowBetter than 83% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity76

Established project with proven stability

 Bus Factor1

Top contributor holds 93.9% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~115 days

Recently: every ~85 days

Total

14

Last Release

1527d ago

Major Versions

v1.1.0 → v2.0.02019-09-09

v2.2.0 → v3.0.02022-03-07

PHP version history (4 changes)v1.0.0PHP &gt;=7.0

v1.1.0PHP &gt;=7.2

v2.1.0PHP &gt;=7.4

v3.0.0PHP &gt;=8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/907c8faa9e7d6e1777b18bafcc2b94909b1b82a9fe15b462fb18b02f88a00da1?d=identicon)[wandersonwhcr](/maintainers/wandersonwhcr)

---

Top Contributors

[![wandersonwhcr](https://avatars.githubusercontent.com/u/5286703?v=4)](https://github.com/wandersonwhcr "wandersonwhcr (124 commits)")[![DariusIII](https://avatars.githubusercontent.com/u/3399658?v=4)](https://github.com/DariusIII "DariusIII (5 commits)")[![ianmustafa](https://avatars.githubusercontent.com/u/5209746?v=4)](https://github.com/ianmustafa "ianmustafa (3 commits)")

---

Tags

composerconverterformatilluminatelaravelphpromanroman-numberroman-numeralvalidatorlaravelvalidatorconverterformatilluminateromanroman-numberroman-numeral

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/wandersonwhcr-illuminate-romans/health.svg)

```
[![Health](https://phpackages.com/badges/wandersonwhcr-illuminate-romans/health.svg)](https://phpackages.com/packages/wandersonwhcr-illuminate-romans)
```

###  Alternatives

[proengsoft/laravel-jsvalidation

Validate forms transparently with Javascript reusing your Laravel Validation Rules, Messages, and FormRequest

1.1k2.3M49](/packages/proengsoft-laravel-jsvalidation)[wandersonwhcr/romans

A Simple PHP Roman Numerals Library

44395.1k8](/packages/wandersonwhcr-romans)[sunspikes/clamav-validator

Custom Laravel 5 anti-virus validator for file uploads.

3651.8M3](/packages/sunspikes-clamav-validator)[laravel-validation-rules/credit-card

Validate credit card number, expiration date, cvc

2412.2M5](/packages/laravel-validation-rules-credit-card)[illuminatech/validation-composite

Allows uniting several validation rules into a single one for easy re-usage

184485.5k](/packages/illuminatech-validation-composite)[laravel-validation-rules/phone

Validate that a phone number is in the correct format

69355.5k](/packages/laravel-validation-rules-phone)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
