https://github.com/nthndnn/laravel-currency-casts
https://github.com/nthndnn/laravel-currency-casts
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/nthndnn/laravel-currency-casts
- Owner: nthndnn
- Created: 2021-11-16T19:07:36.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2024-03-15T15:51:09.000Z (over 1 year ago)
- Last Synced: 2025-06-05T09:09:21.617Z (5 months ago)
- Language: PHP
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Laravel Currency Casts 💵
Laravel Currency Casts allows conversion of a `Money` instance (from the [brick/money](https://github.com/brick/money) library) into a JSON-encoded string to be stored in a JSON field.
## Installation
You can install the package via [Composer](https://getcomposer.org/):
```bash
composer require nathandunn/laravel-currency-casts
```