PHP code example of shazzoo / icon-picker-plugin
1. Go to this page and download the library: Download shazzoo/icon-picker-plugin 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/ */
shazzoo / icon-picker-plugin example snippets
return [
'disk' => env('ICON_PICKER_DISK', 'public'),
'directory' => env('ICON_PICKER_DIRECTORY', 'icons'),
// Icons rendered from templates rather than from stored content;
// icons:sync keeps these installed.
'
use Shazzoo\IconPicker\Support\IconRepository;
IconRepository::find('lucide:check');