Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rmunate/spellnumber
π’ Convert Numbers to Words Effortlessly in Laravel! ππ Say goodbye to complex coding! This ingenious library, seamlessly integrated with the native PHP INTL extension, empowers you to effortlessly transform numbers into words within your Laravel projects. ππ
https://github.com/rmunate/spellnumber
laravel-framework library php
Last synced: 3 days ago
JSON representation
π’ Convert Numbers to Words Effortlessly in Laravel! ππ Say goodbye to complex coding! This ingenious library, seamlessly integrated with the native PHP INTL extension, empowers you to effortlessly transform numbers into words within your Laravel projects. ππ
- Host: GitHub
- URL: https://github.com/rmunate/spellnumber
- Owner: rmunate
- Created: 2023-01-11T18:10:42.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-07-08T14:27:58.000Z (6 months ago)
- Last Synced: 2024-12-20T00:03:37.279Z (3 days ago)
- Topics: laravel-framework, library, php
- Language: PHP
- Homepage: https://rmunate.github.io/SpellNumber/
- Size: 5.77 MB
- Stars: 295
- Watchers: 4
- Forks: 44
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Convert Numbers to Words in Laravel
[![Project Discontinued](https://img.shields.io/badge/Project%20Discontinued-red?style=for-the-badge)](https://laravel.com/docs/11.x/helpers#method-number-spell)
**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](https://laravel.com/docs/11.x/helpers#method-number-spell).
### Details:
- **Version:** 10.41
- **Pull Request:** [PR #48845](https://github.com/laravel/framework/pull/48845)---
---
---
---## 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](https://github.com/alejandrodiazpinilla/SpellNumber/assets/51100789/e51cf045-26d0-44e0-a873-3034deaea046)
## 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:
``` bash
composer require rmunate/spell-number
```The package will automatically register itself.
**That's all!**
## Usage
[![πππ **FULL DOCUMENTATION** πππ](https://img.shields.io/badge/FULL%20DOCUMENTATION-Visit%20Here-blue?style=for-the-badge)](https://rmunate.github.io/SpellNumber/)
# 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](https://github.com/ashokdevatwal) (Hindi Language)
- [Olsza](https://github.com/olsza) (Polish Language)
- [Siros Fakhri](https://github.com/sirosfakhri) (Farsi Language)
- [Jens Twesmann](https://github.com/jetwes) (German Language)
- [Gabriel Rausch](https://github.com/gdsrmygdsrjr) (Zero Decimal Correction)
- [Alejandro Diaz](https://github.com/alejandrodiazpinilla) (Readme And Icon)
- [Frank Sepulveda](https://github.com/socieboy) (Ordinal Texts)
- [NgΓ΄ Quα»c ΔαΊ‘t](https://github.com/datlechin) (Vietnamese Language)## License
This project is under the [MIT License](https://choosealicense.com/licenses/mit/).π Support My Projects! π
[![Become a Sponsor](https://img.shields.io/badge/-Become%20a%20Sponsor-blue?style=for-the-badge&logo=github)](https://github.com/sponsors/rmunate)
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! ππ©βπ»π¨βπ»