PHP code example of lee-to / moonshine-input-extension-char-count

1. Go to this page and download the library: Download lee-to/moonshine-input-extension-char-count 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/ */

    

lee-to / moonshine-input-extension-char-count example snippets


use Leeto\InputExtensionCharCount\InputExtensions\CharCount;

//
Text::make('Field')
    ->extension(new CharCount()),
// or
Text::make('Field')
    ->extension(new CharCount(250)),
// or
Text::make('Field')
    ->extension(new CharCount(45,5)),