Skip to content

moevbiz/k3-romans

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

romans

Kirby CMS wrapper around wandersonwhcr/romans, A Simple PHP Roman Numerals Library

Install

composer require moevbiz/k3-romans

Usage

As a field method:

<?= $page->currentYear()->intToRoman(); ?> // MMXXI
<?= $page->title()->romanToInt(); ?> // 2021

As a page method:

<?= $page->intToRoman(2021); ?> // MMXXI
<?= $page->romanToInt(MMXXI); ?> // 2021

License

Plugin: MIT

Kirby: Buy

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages