Some web applications require a module to manage documents for logged in users. Yii2-docvault includes the folowing features:
Here is how to install Yii2-docvault using composer. Installation is a quick and easy three-step process.
Add the following line to the require section of your composer.json file:
Run composer update to download and install Yii2-docvault.
Add following lines to the modules section in your main configuration file (e.g. config/main.php):
'modules' => [ 'docvault' => [ 'class' => 'diggindata\docvault\Module', 'dataDir' => '@app/data', // Alias to data directory ], ],
NOTE: Make sure that you have properly configured db application component.
After you downloaded and configured Yii2-docvault, the last thing you need to do is updating your database schema by applying the migrations:
$ php yii migrate/up --migrationPath=@vendor/diggindata/yii2-docvault/migrations