imahmood / laravel-money
Laravel money
v1.2.1
2026-11-16 14:28 UTC
Requires
- php: ^8.3
- ext-decimal: ^1.5|^2.0
- laravel/framework: ^12.0|^13.0
Requires (Dev)
- larastan/larastan: ^2.0|^3.0
- laravel/pint: 1.32.3
- orchestra/testbench: ^10.0|^11.0
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
Laravel money value objects with configurable currencies, decimal arithmetic, currency conversion, formatting, and Eloquent casting.
Features
- Precise decimal money calculations.
- Configurable currencies and exchange rates.
- Arithmetic, comparisons, conversions, and formatting.
- Laravel helpers and Eloquent casting.
Requirements
- PHP 8.3 or newer
- PHP
decimalextension
Documentation
License
The MIT License (MIT). Please see License File for more information.