1. Go to this page and download the library: Download mmelcor/yii2-babelfish 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/ */
'components' => [
'...',
'babelFileStorage' => [ //this must be the component name, as it is being used in the module.
'class' => 'trntv\filekit\Storage',
'filesystemComponent' => 'awss3Fs', //or whichever file system you are using.
'baseUrl' => '[Your base url path]'
],
'...',
],