This project has been discontinued.
Now, this functionality is part of the Core of Laravel Framework. Check out the usage of the Illuminate\Support\Number
class in the official Laravel documentation.
- Version: 10.41
- Pull Request: PR #48845
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
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.
To install the dependency via Composer, execute the following command:
composer require rmunate/spell-number
The package will automatically register itself.
That's all!
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)
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! ππ©βπ»π¨βπ»