With this package you can working with financial data.
Add FivePercent/Money in your composer.json:
{
"require": {
"fivepercent/money": "~1.0"
}
}
Now tell composer to download the library by running the command:
$ php composer.phar update fivepercent/money