aloko/pashto-cardinals

A package to display numbers in Pashto text.

v0.1.0 2017-04-17 15:52 UTC

This package is auto-updated.

Last update: 2024-04-18 11:00:22 UTC


README

Latest Version on Packagist Software License

A number to text converter for Pashto language.

Install

Via Composer

$ composer require aloko/pashto-cardinals

Usage

use Aloko\PashtoCardinals\PashtoCardinal;

echo PashtoCardinal::convert(222); // This will return 'Dwa Sawa Dwa Wisht'

Security

If you discover any security related issues, please email mustafa.aloko@gmail.com instead of using the issue tracker.

Credits

To-Do

  • Adding localization support

License

The MIT License (MIT). Please see License File for more information.