Download the PHP package 99designs/money-php without Composer
On this page you can find all versions of the php package 99designs/money-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download 99designs/money-php
More information about 99designs/money-php
Files in 99designs/money-php
Download 99designs/money-php
More information about 99designs/money-php
Files in 99designs/money-php
Vendor 99designs
Package money-php
Short Description A library for dealing with money and currency conversion.
License
Package money-php
Short Description A library for dealing with money and currency conversion.
License
Please rate this library. Is it a good library?
Informations about the package money-php
Money (for PHP)
A library for dealing with money and currency conversion. PHP port of http://money.rubyforge.org
Usage
<?php
require_once 'src/money.php';
// 10.00 USD
$money = new money\Money(1000, 'USD');
$money->cents(); // => 1000
$money->currency(); // => new money\Currency("USD")
Status
This project is still a work in progress.
Things to do:
- money comparison
- money arithmetic
- currency conversion
Contributions welcome. :-)
Tests
Tests are located in the tests subdirectory.
You'll need to install PHPUnit before running the tests: http://www.phpunit.de/manual/3.5/en/installation.html
Then run the tests like this:
phpunit tests
Credits
All credit goes to the creators of the Ruby money library. This is a direct port of the code.
All versions of money-php with dependencies
PHP Build Version
Package Version
No informations.
The package 99designs/money-php contains the following files
Loading the files please wait ....