1. Go to this page and download the library: Download imaginary/yii2-fomantic-ui 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/ */
imaginary / yii2-fomantic-ui example snippets
namespace backend\assets;
use yii\web\AssetBundle;
class AppAsset extends AssetBundle
{
public $basePath = '@webroot';
public $baseUrl = '@web';
public $css = [];
public $js = [];
public $depends = [
'yii\web\YiiAsset',
'yii\web\JqueryAsset',
'icms\FomanticUI\assets\CSSAsset'
];
}