PHP code example of flsouto / httextar

1. Go to this page and download the library: Download flsouto/httextar 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 / httextar example snippets



use FlSouto\HtTextar;
cription');
$field->context(['description'=>'This is a very long description']);

echo $field;

use FlSouto\HtTextar;
r('description');
$field->readonly();
$field->context(['description'=>'This is a very long description']);

echo $field;

use FlSouto\HtTextar;

$field = new HtTextar('description');
$field->cols(80)->rows(10);

echo $field;


$field = new HtTextar('description');
$field->size('80x10');

echo $field;