PHPackages                             ocramius/deprecated-money - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. ocramius/deprecated-money

Abandoned → [moneyphp/money](/?search=moneyphp%2Fmoney)Library[Utility &amp; Helpers](/categories/utility)

ocramius/deprecated-money
=========================

PHP implementation of Fowler's Money pattern

3.99.99(5y ago)03MITPHPPHP ^8.0

Since Aug 3Pushed 5y agoCompare

[ Source](https://github.com/Ocramius/money)[ Packagist](https://packagist.org/packages/ocramius/deprecated-money)[ Docs](http://moneyphp.org)[ RSS](/packages/ocramius-deprecated-money/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (15)Versions (36)Used By (0)

Money
=====

[](#money)

[![Latest Version](https://camo.githubusercontent.com/1b4331304d05d33079ec71a0fa304bd0c7fe1eed40a5bce9c353e7f2fdc2118d/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f6d6f6e65797068702f6d6f6e65792e7376673f7374796c653d666c61742d737175617265)](https://github.com/moneyphp/money/releases)[![GitHub Workflow Status](https://camo.githubusercontent.com/eace2d4c386db846eacf25f66c1b0c21d17cc484d2542291e58ebdb57e1dd675/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f7068702d687474702f6d6573736167652f43493f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/eace2d4c386db846eacf25f66c1b0c21d17cc484d2542291e58ebdb57e1dd675/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f7068702d687474702f6d6573736167652f43493f7374796c653d666c61742d737175617265)[![Total Downloads](https://camo.githubusercontent.com/c4d0a7b5f2caa0d7673235ced071cc15bab4670d75023fd87fd0fa794d050388/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6d6f6e65797068702f6d6f6e65792e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/moneyphp/money)

[![Email](https://camo.githubusercontent.com/26310f515fa2e81edf9b9b9534bb679f8ff2e146029c50e1550a292539c98022/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f656d61696c2d7465616d406d6f6e65797068702e6f72672d626c75652e7376673f7374796c653d666c61742d737175617265)](mailto:team@moneyphp.org)

[![Money PHP](/resources/logo.png?raw=true)](/resources/logo.png?raw=true)

PHP library to make working with money safer, easier, and fun!

> "If I had a dime for every time I've seen someone use FLOAT to store currency, I'd have $999.997634" -- [Bill Karwin](https://twitter.com/billkarwin/status/347561901460447232)

In short: You shouldn't represent monetary values by a float. Wherever you need to represent money, use this Money value object. Since version 3.0 this library uses [strings internally](https://github.com/moneyphp/money/pull/136)in order to support unlimited integers.

```
