sop/crypto-types
Strongly typed cryptocurrency value objects and Eloquent casts for Laravel. Store, convert, and compare Bitcoin, satoshi, and fiat amounts safely with immutable types that avoid floating-point rounding errors in your models and domain code.
sop/crypto-types adds strongly typed, immutable value objects for crypto-related data in PHP and Laravel. It replaces loose strings and floats with explicit types for amounts, symbols, and related values, making validation, formatting, and comparison safer and more testable.
How can I help you explore Laravel packages today?