1. Go to this page and download the library: Download calvery/sdk 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/ */
calvery / sdk example snippets
ent = new \Calvery\Client(getenv('CVSM_TOKEN'), 'acme-corp');
// Single secret
$dbUrl = $client->get('DATABASE_URL');
// All secrets as array
$all = $client->getAll();
// Inject into $_ENV + putenv()
$injected = $client->inject(overwrite: false);
echo "Injected " . count($injected) . " vars\n";