1. Go to this page and download the library: Download morebec/orkestra-privacy 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/ */
morebec / orkestra-privacy example snippets
use Morebec\Orkestra\Privacy\PersonalData;
$personalToken='usr123456';
$data = new PersonalData($personalToken, 'emailAddress' /* key */, '[email protected]' /* value */, 'registration_form' /* source */);
$data->disposedAt($clock->now()->addDays(15));
// You can use this reference token to reference this personal data within the store in your application code.
$referenceToken = $store->put($data);