kucharovic / czech-money-to-words
Utility to convert a number to a CZK currency word representation.
Installs: 810
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/kucharovic/czech-money-to-words
Requires
- php: ^7.1
Requires (Dev)
- phpunit/phpunit: ^7.0
This package is auto-updated.
Last update: 2025-09-14 01:15:57 UTC
README
Utility to convert a number to a CZK currency word representation.
Installation with Composer
php composer require kucharovic/czech-money-to-words
Usage
<?php require __DIR__.'/vendor/autoload.php'; use JK\Utils\MoneyToWords; $formatter = new MoneyToWords(); echo $formatter->spellout(123); // jednostodvacettři korun českých echo $formatter->spellout(21.5, MoneyToWords::PRESERVE_SPACES); // dvacet jedna korun českých padesát haléřů