Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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: 6 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. πŸš€πŸ“Š

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