PHP code example of senses / laravel-gdpr
1. Go to this page and download the library: Download senses/laravel-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/ */
senses / laravel-gdpr example snippets
php
// Add to service providers array
Senses\Gdpr\GdprServiceProvider::class,
// Add to aliases array
'Gdpr' => Senses\Gdpr\GdprFacade::class,
bash
php artisan vendor:publish --provider="Senses\Gdpr\GdprServiceProvider"
php
'types' => [
'necessary', 'functional', 'analytics', 'settings'
]