Laravel return 1 как правда
protected $casts = [
'bool_val' => 'boolean',
];
Beautiful Bird
protected $casts = [
'bool_val' => 'boolean',
];
return $value == 1 ? true : false;