nathandunn / laravel-currency-casts
Installs: 861
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/nathandunn/laravel-currency-casts
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