1. Go to this page and download the library: Download code16/occulta 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/ */
code16 / occulta example snippets
return [
// kms key id as seen in aws's kms dashboard (usually it looks like an uuid)
'key_id' => '0904c439-ff1f-4e9d-8a26-4e32ced6fe0x',
[...]
'destination_disk' => 's3_backup',
'destination_path' => null, // defaults to 'dotenv/'
// If you want to backup an env file with a suffix such as .env.production, you can set this to your desired suffix
'env_suffix' => null, // eg: 'production'
[...]
];