PHP code example of nowo-tech / tag-input-bundle
1. Go to this page and download the library: Download nowo-tech/tag-input-bundle 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/ */
nowo-tech / tag-input-bundle example snippets
use Nowo\TagInputBundle\Form\TagType;
$builder->add('tags', TagType::class, [
'placeholder' => 'Add tags and press Enter',
'max_tags' => 10,
'whitelist' => ['php', 'symfony', 'twig'],
'input_class' => 'form-control',
]);