Registry / utility / brick-money

brick-money

JSON →
library0.11.0phppackagistunverified

Money and currency library

composer require brick/money
INSTALL
IMPORT
SIG · BRICK-MONEY
B
brick-money
utilityphpv0.11.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Money
use Brick\Money\Money;

Create a Money object and get its amount

use Brick\Money\Money; $money = Money::of(100, 'USD'); echo $money->getAmount(); // 100
Debug
Known issues
gotchaImmutable objects: all operations return new instances
fix
Always assign the result of arithmetic operations to a variable
affects: >=0.1.0
Upgrade
Version history
0.11.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
14 hits · last 30 days
node
12
Amazon
1
OpenAI (training)
1
Resources
brick-money — pip install brick-money · libregistry