PHP code example of quebecstudio-mods / statamic-consent-kit

1. Go to this page and download the library: Download quebecstudio-mods/statamic-consent-kit 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/ */

    

quebecstudio-mods / statamic-consent-kit example snippets


'addons' => [
    'quebecstudio-mods/statamic-consent-kit' => 'pro',
],

// config/cookie-consent.php
'register' => ['connection' => 'proofs'],
css
@source "../../vendor/quebecstudio-mods/consent-kit-core/src/Defaults.php";