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

v5.1.1 2024-05-04 08:14 UTC

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

Spell Number Logo

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

πŸ“–πŸ“–πŸ“– FULL DOCUMENTATION πŸ“–πŸ“–πŸ“–

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.

License

This project is under the MIT License.

🌟 Support My Projects! πŸš€

Become a Sponsor

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! πŸŒπŸ‘©β€πŸ’»πŸ‘¨β€πŸ’»