Skip to content

Lightweight package that shortens given number by taking digits and adding K, M, B or T after them. For example 1234 will be formatted to 1K and 20244023 to 20M. Package supports multiple languages

License

Notifications You must be signed in to change notification settings

SerhiiCho/short-number

Repository files navigation

Short number Total Downloads PHP Version Require License

Lightweight package shortens given number to a short representation of it. For example 1234 will be formatted to 1k and 20244023 to 20m. Package supports multiple languages, the default it's set to English.

Follow the full documentation for this package

🚀 Quick Start

composer require serhii/short-number

📄 License

The Short Number project is licensed under the MIT License

About

Lightweight package that shortens given number by taking digits and adding K, M, B or T after them. For example 1234 will be formatted to 1K and 20244023 to 20M. Package supports multiple languages

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages