hardevine / spell-number
Easily convert numbers to letters, this library supports the native PHP INTL extension with which we can easily convert numbers to letters. This library provides us with the possibility of converting only to numbers or to currency formats depending on the language to be used, this package has suppor
Requires
- php: ^8.0
- ext-intl: *
- illuminate/support: ^8.0|^9.0|^10.0|^11.0
Requires (Dev)
- phpunit/phpunit: ^10.4
- symfony/var-dumper: ^6.4
README
Introduction
Easily convert numbers to words in Laravel using this library, which leverages the native PHP INTL
extension to perform conversion effortlessly. With this library, you can convert numbers to words in various languages and also obtain the value in currency format according to the selected language. Supported languages include English, Spanish, Portuguese, French, Italian, Romanian, Hindi, Polish, Vietnamese and Persian (Farsi).
This library is compatible with PHP +8.0 and Laravel versions 8.0 and higher
Requirements
For this solution to work properly you must have at least a version of PHP 8.0 since the package in its CORE has typed data.
You must have Laravel Framework version 8 or higher.
Finally, our package relies on the native PHP INTL
extension, check in your php.ini
that you have it.
Install
Composer
To install the dependency via Composer, execute the following command:
composer require rmunate/spell-number
The package will automatically register itself.
That's all!
Usage
Contributing
If you want to add support for a new language or want to develop new features, you can submit your requests to the main branch of the repository.
To date, the following world-class developers have contributed their knowledge.
To whom we thank for supporting making programming easier.
- Ashok Devatwal (Hindi Language)
- Olsza (Polish Language)
- Siros Fakhri (Farsi Language)
- Jens Twesmann (German Language)
- Gabriel Rausch (Zero Decimal Correction)
- Alejandro Diaz (Readme And Icon)
- Frank Sepulveda (Ordinal Texts)
- NgΓ΄ Quα»c ΔαΊ‘t (Vietnamese Language)
- Mustafa Yusuf Γzcan (Turkish Language)
License
This project is under the MIT License.
π Support My Projects! π
Make any contributions you see fit; the code is entirely yours. Together, we can do amazing things and improve the world of development. Your support is invaluable. β¨
If you have ideas, suggestions, or just want to collaborate, we are open to everything! Join our community and be part of our journey to success! ππ©βπ»π¨βπ»