Download the PHP package milantarami/number-to-words without Composer
On this page you can find all versions of the php package milantarami/number-to-words. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download milantarami/number-to-words
More information about milantarami/number-to-words
Files in milantarami/number-to-words
Download milantarami/number-to-words
More information about milantarami/number-to-words
Files in milantarami/number-to-words
Vendor milantarami
Package number-to-words
Short Description A sweet package for converting a number to words that support Nepali & International Numbering System
License MIT
Package number-to-words
Short Description A sweet package for converting a number to words that support Nepali & International Numbering System
License MIT
Please rate this library. Is it a good library?
Informations about the package number-to-words
Number to words
Installation and setup
You can install this package via composer using:
The package will automatically register its service provider for laravel 5.5.* and above.
For below version need to register a service provider manually in config/app.php
The package will automatically load alias for laravel 5.5.* and above.
For below version need to add alias manually in config/app.php
To publish the config file to config/number_to_words.php
run:
This is the default contents of the configuration:
Optional Paramater ( Array - available keys and values)
Key | Description | Type | Avaliable Values | Default |
---|---|---|---|---|
monetary_unit_enable | Enable / Disable monetary unit in response | Boolean | true, false | true |
lang | Nepali and English Languages are avaliable | String | en, np | en |
response_type | Output can be returned in String and Array Format | String | string, array | string |
numbering_system | Two Numbering System are avaliable are Nepali Numbering System (nns) and International Numbering System (ins) | String | nns, ins | nns |
monetary_unit | You can setup your custom monetary unit in output by replacing Rupees / Paisa as Dollar / Cent . | Array | Use custom value as array [ 'Dollar', 'Cent' ] | Depends upon language selected |
Basic Usage
Usage with config as optional paramater
Example 1
Example 2
All versions of number-to-words with dependencies
PHP Build Version
Package Version
No informations.
The package milantarami/number-to-words contains the following files
Loading the files please wait ....