1// old selected checkbox in blade template using old function
2<label class="form-check-inline">
3 <input class="form-check-input" type="checkbox" name="hobby[]" value="1"
4 {{ (is_array(old('hobby')) && in_array(1, old('hobby'))) ? ' checked' : '' }}> football
5</label>
6//@sujay