nathandunn / laravel-currency-casts
v2.3.0
2024-03-15 15:25 UTC
Requires
- php: ^8.0
- brick/money: ^0.8.0
- illuminate/contracts: ^9.0|^10.0|^11.0
- illuminate/database: ^9.0|^10.0|^11.0
- illuminate/support: ^9.0|^10.0|^11.0
README
Laravel Currency Casts allows conversion of a Money
instance (from the brick/money library) into a JSON-encoded string to be stored in a JSON field.
Installation
You can install the package via Composer:
composer require nathandunn/laravel-currency-casts