Streamline Data Transformation with Laravel's Inbound-Only Custom Casts
Laravel's custom casting feature becomes even more powerful with inbound-only casts. These allow you to transform data as it's being set on the model, without affecting how it's retrieved. This is particularly useful for operations like hashing or encryption, where you want to modify