PHP code example of miragesoft / yii2-basicfilemanager
1. Go to this page and download the library: Download miragesoft/yii2-basicfilemanager 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/ */
miragesoft / yii2-basicfilemanager example snippets
'modules' => [
...
'basicfilemanager' => [
'class' => 'mirage\basicfilemanager\Module',
// Upload routes
'routes' => [
// Base absolute path to web directory
'baseUrl' => '',
// Base web directory url
'basePath' => '@webroot',
// Path for uploaded files in web directory
'uploadPath' => 'uploads',
],
],
...
],