You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
MoneyCast and ValueObjects\Money — a small immutable money value object (minor units + currency) instead of floats. Accepts int minor units, a decimal string, an ['amount' => ..., 'currency' => ...] array, or an existing Money on hydration; serializes back to int minor units. Currency is fixed per field via the cast constructor and validated on both directions; raw float input is rejected. Decimal-string parsing never goes through float, so amounts round deterministically regardless of binary float representation.