laravel-money
laravel-money copied to clipboard
Currency formatting and conversion package for Laravel
This pull request adds a validation rule for currencies.
Came across an issue where the directives are all rendered as strings. After searching in recent changes came to the conclusion that https://github.com/spatie/laravel-ray has caused this. Seems like https://github.com/spatie/laravel-ray/blob/main/src/RayServiceProvider.php#L226 uses...
When package is installed and if laravel config is cached the app throws an exception because the currencies returns null.
I'm working on a project that would really benefit from setting a default value for currency conversion, as well as from the `@currency` directive also respecting the default currency setting....
Should money's amount be multiply automatically with currency rate?
getCurrencies from loaded config so when update config programmatically the list is also updated
Replace usage of deprecated `Rule` with `ValidationRule`
We dont use precision in IRR currency
Adds import checker to GitHub workflows to reveal "extra" or "wrong" use statements. - This PR also includes a commit to remove an extra import so that the checks pass....
Hi, Is there a way to position the thousands_separator correctly. Like take this example If I do this @money('12000000', 'USD') it groups the number correctly `$120,000.00` as per the US...