serhii / short-number
For changing the language you want to call `set` method once before calling other methods from this package.
Installs: 2 591
Dependents: 0
Suggesters: 0
Security: 0
Stars: 6
Watchers: 2
Forks: 0
Open Issues: 0
Requires
- php: ^7.2|^8.0
Requires (Dev)
- laravel/pint: v1.18.1
- phpstan/phpstan: ^1.12.7
- phpunit/phpunit: ^8.0
- squizlabs/php_codesniffer: ^3.7.2
- symfony/var-dumper: ^4.2
This package is auto-updated.
Last update: 2024-11-01 17:26:55 UTC
README
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