PHP code example of phpnt / yii2-metismenu

1. Go to this page and download the library: Download phpnt/yii2-metismenu 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/ */

    

phpnt / yii2-metismenu example snippets



use yii\widgets\Menu;
use phpnt\metismenu\MetisMenuAsset;
MetisMenuAsset::register($this);

php composer.phar