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:
- Host: GitHub
- URL: https://github.com/setkyar/phpmoneyformat
- Owner: setkyar
- Created: 2015-03-02T11:45:40.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2015-03-06T05:18:06.000Z (over 11 years ago)
- Last Synced: 2026-01-12T14:25:09.813Z (6 months ago)
- Language: PHP
- Homepage: https://packagist.org/packages/setkyar/moneyformat
- Size: 128 KB
- Stars: 1
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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