1. Go to this page and download the library: Download elvinqulizade/filament-gdpr 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/ */
use ElvinQulizade\Gdpr\Facades\Gdpr;
Gdpr::policies(); // enabled policies
Gdpr::run(); // run the privacy sweep (respects dry-run config)
Gdpr::anonymize($model, []); // anonymize a single model instance
Gdpr::exporter()->export('[email protected]'); // create an export for a subject