1. Go to this page and download the library: Download insolita/yii2-multifs 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/ */
insolita / yii2-multifs example snippets
$avatars = (new \insolita\multifs\builders\LocalFsBuilder('@app/web/uploads/avatars'))->build();
$covers = (new \insolita\multifs\builders\LocalFsBuilder('@app/web/uploads/covers'))->build();
$attach = (new \insolita\multifs\builders\LocalFsBuilder('@app/web/uploads/attach'))->build();
$data = (new \insolita\multifs\builders\LocalFsBuilder('@data'))->build();