1. Go to this page and download the library: Download 3ev/typo3-utils 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/ */
namespace My\Extension;
class MyIcon extends \Tev\Typo3Utils\Plugin\WizIcon
{
public function __construct()
{
parent::__construct(
// Your extension's name, with underscores
'my_ext',
// The plugin name(s) you'd like the wizicon to be used for
['myplugin', 'myotherplugin],
// Optional. The icon file name
'ext_icon.png'
// Optional. The language file you'd like to use
'locallang.xlf'
);
}
}