PHP code example of adzpire / yii2-basicfilemanager
1. Go to this page and download the library: Download adzpire/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/ */
adzpire / yii2-basicfilemanager example snippets
'modules' => [
...
'basicfilemanager' => [
'class' => 'adzpire\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',
],
],
...
],