PHP code example of extpoint / yii2-file

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

    

extpoint / yii2-file example snippets




use extpoint\yii2\components\ModuleLoader;

ModuleLoader::add('file', 'extpoint\yii2\file\FileModule'); // <--

return [
    'id' => 'my-project',
    // ...
];