PHP code example of max-dreamsoft / yii2-tree-dropdown
1. Go to this page and download the library: Download max-dreamsoft/yii2-tree-dropdown 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/ */
max-dreamsoft / yii2-tree-dropdown example snippets
echo \insperedia\treedropdown\DropdownTreeWidget::widget(
[
'data' => [
'item1' => [
'subitem1',
'subitem2',
],
'item2' => [
'subitem3',
'subitem4',
],
]
]
);