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

https://github.com/setkyar/phpmoneyformat

:dollar: Format your money :money_with_wings:
https://github.com/setkyar/phpmoneyformat

Last synced: 6 months ago
JSON representation

:dollar: Format your money :money_with_wings:

Awesome Lists containing this project

README

          

# PHP Money Format

You want to format your money? Let's format with simply way :)

## Installation

Create `composer.json` and add the following

{
"require" : {
"setkyar/moneyformat" : "dev-master"
}
}

And run `$ composer install` via your terminal

## Usage

Create new php file and add the following

Format(2000, 'Kyats')); //string(11) "Kyats 2,000"

var_dump($currency->Format(2000, 'USD')); //string(11) "USD 2,000"

## Todo

- Write Test

## Contributing

1. Fork it ( https://github.com/setkyar/phpmoneyformat )
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create a new Pull Request

**Stars to both [Packagist](https://packagist.org/packages/setkyar/moneyformat) and [Here](https://github.com/setkyar/phpmoneyformat) are welcome :smile:**

## License
WTFPL