1. Go to this page and download the library: Download flsouto/httextin library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
flsouto / httextin example snippets
use FlSouto\HtTextin;
il');
$field->context(['email'=>'[email protected]']);
echo $field;
use FlSouto\HtTextin;
n('email');
$field->readonly(true);
echo $field;
use FlSouto\HtTextin;
$field = new HtTextin('email');
$field->readonly(true);
$field->readonly(false);
echo $field;
$field = new HtTextin('email');
$field->size(40);
echo $field;
$field = new HtTextin('email');
$field->size(40)->placeholder("eg: [email protected]");
echo $field;