Cast Laravel Model Fields to "Illuminate\Support\Uri" with "AsUri"
– ashallendesign.co.uk - submitted by Ash Allen
Read about how to use the new `Illuminate\Database\Eloquent\Casts\AsUri` cast (added in Laravel 12.17) to cast Laravel model properties to instances of `Illuminate\Support\Uri`.
Read more [ashallendesign.co.uk]