PHP code example of lukasbableck / contao-svg-icon-picker-bundle
1. Go to this page and download the library: Download lukasbableck/contao-svg-icon-picker-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/ */
lukasbableck / contao-svg-icon-picker-bundle example snippets
'icon' => [
'inputType' => 'svgIconPicker',
'eval' => [
'sourceDirectory' => 'files/icons',
'metadataDirectory' => 'files/icons/metadata',
'tl_class' => 'clr'
],
'sql' => 'blob NULL',
],