PHP code example of narokishi / number-to-words

1. Go to this page and download the library: Download narokishi/number-to-words library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

narokishi / number-to-words example snippets


use Narokishi\NumberToWords\NumberTransformer;

...

Transformer::make()
    ->setLanguage('PL') // Language
    ->toWords(172.05, 'PLN') // Value, currency
bash
 git add {files}
 git rebase --continue