PHPackages                             ajaz/cookie-consent-php - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. ajaz/cookie-consent-php

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

ajaz/cookie-consent-php
=======================

A simple PHP cookie consent widget that helps to EU Cookie Law

v1.0(5y ago)117MITPHP

Since Nov 14Pushed 5y ago1 watchersCompare

[ Source](https://github.com/ajazsaif/cookie-consent-php)[ Packagist](https://packagist.org/packages/ajaz/cookie-consent-php)[ Docs](https://github.com/ajazsaif/cookie-consent-php)[ RSS](/packages/ajaz-cookie-consent-php/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependenciesVersions (2)Used By (0)

cookie-consent-php
==================

[](#cookie-consent-php)

PHP Cookie Consent Widget

### Installation Guide

[](#installation-guide)

```
composer require ajaz/cookie-consent-php

```

 [ ![ajaz/cookie-consent-php](https://github.com/ajazsaif/cookie-consent-php/raw/master/cookie-consent.png) ](https://github.com/ajazsaif/cookie-consent-php)

### How to use (Below PHP code should be apply in Head section)

[](#how-to-use-below-php-code-should-be-apply-in-head-section)

```
use Ajaz\CookieConsent\Widget;

require 'vendor/autoload.php';
