PHP code example of starcode-solutions / yii2-vault
1. Go to this page and download the library: Download starcode-solutions/yii2-vault 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/ */
starcode-solutions / yii2-vault example snippets
return [
// ...
'modules' => [
// other modules ...
'vault' => [
'class' => 'starcode',
// module config params ...
],
],
// ...
];
php yii vault/client/read secret/path/to/secret/key