src/Helpers/Form.php
public static function checkbox($name, $value, $attributes = array())
    {
        $attributes['value'] = $value;
        return self::input('checkbox', $name, $attributes);
    }
public static function checkbox($name, $value, $attributes = array())
    {
        $attributes['value'] = $value;
        return self::input('checkbox', $name, $attributes);
    }
public static function checkbox ( $ name , $ value , $ attributes = array ( ) ) { $ attributes [ 'value' ] = $ value ; return self :: input ( 'checkbox' , $ name , $ attributes ) ; }
Creates a checkbox field.

@param string $name
@param mixed $value
@param array $attributes

@return string
Creates a checkbox field .