PHP code example of phpinnacle / iconic
1. Go to this page and download the library: Download phpinnacle/iconic 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/ */
phpinnacle / iconic example snippets
use PHPinnacle\Iconic\IconPicker;
IconPicker::make('icon');
IconPicker::make('icon')
->columns(8)
->rows(4);
IconPicker::make('icon')
->iconSets(['phosphor-icons', 'heroicons'])
->weights(['regular', 'bold'])
->allowIcons(['phosphor-heart', 'phosphor-heart-bold', 'heroicon-o-heart'])
->excludeIcons(['phosphor-heart-bold']);