development-x/currency

Convert amount <=> words

1.0.1 2017-05-01 10:44 UTC

This package is auto-updated.

Last update: 2024-11-16 00:49:57 UTC


README

Currency class

Basic currency features - convert amount to words

Requirements

  • PHP 5.5+

Installation

Install with Composer, run:

composer require development-x/media-service-provider

Use it

<?php

echo Currency::convertToText(1.23, Currency::LANG_BG);
echo Currency::convertToText(1.23, Currency::LANG_EN);

ToDo

  • Add more functionality
  • Add more unit tests

Contributing

However, if you are interested and want to send a bug fix, new functionality or better realization, just send a pull request .