Skip to content

Latest commit

 

History

History
19 lines (11 loc) · 663 Bytes

README.md

File metadata and controls

19 lines (11 loc) · 663 Bytes

levtowords

PHP Version Latest Stable Version

Converts a number to BGN (New Bulgarian Lev) words description. Useful for generating invoices.

1. Requirements

Make sure you are running PHP >= 7.4

2. Installation

composer require northbridg3/levtowords

3. Usage

$levConverter = new Lev(12.34);

echo $levConverter->toWords(); // "дванадесет лева и тридесет и четири стотинки