<input type="checkbox" name="{{ $name }}" id="{{ $id_name ?? $name }}" class="{{ $class ?? ''}}" value="{{ $val ?? 1}}" {{ $meta ?? '' }} 
@if ( (isset($value) && isset($val) && ($value == $val)) || (!isset($val) && $value)) checked @endif
@if ($disabled ?? false)disabled="disabled"@endif
>