PHP code example of mdmsoft / import
1. Go to this page and download the library: Download mdmsoft/import 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/ */
mdmsoft / import example snippets
Import::using('yii\bootstrap\Button'); // import yii\bootstrap\Button
Import::using('yii\widgets\*'); // import all class under namespace yii\widgets
Import::using('yii\bootstrap\Html', 'BootstrapHtml'); // import with alias
Import::using([
'yii\helpers\Html' => 'Html',
'yii\helpers\ArrayHelper',
]);