PHP code example of sy / cookieconsent
1. Go to this page and download the library: Download sy/cookieconsent 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/ */
sy / cookieconsent example snippets
use Sy\Component\Html\Page;
use Sy\Component\Web\CookieConsent;
$popup = new CookieConsent();
$page = new Page();
$page->addBody($popup);
echo $page;