The Beauty of Laravel’s Attribute Casting

If you’ve ever written clunky code to check if a column’s data is 1 instead of true, or found yourself manually typing json_decode() every…