Download the PHP package pierre-adrien/laravel-cookie-consent without Composer

On this page you can find all versions of the php package pierre-adrien/laravel-cookie-consent. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package laravel-cookie-consent

Contributors Forks Stargazers Issues MIT License LinkedIn


Laravel Cookie-Consent

This package provides a fully customizable cookie-consent popup for a Laravel project.

Report Bug · Request Feature

Table of Contents

  1. About The Project
  2. Installation
  3. Usage
  4. Configuration
  5. Contributing
  6. License
  7. Contact

About The Project

Passed in the 2002 and amended in 2009, the ePrivacy Directive (EPD) has become known as the “cookie law” since its most notable effect was the proliferation of cookie consent pop-ups after it was passed. It supplements (and in some cases, overrides) the GDPR, addressing crucial aspects about the confidentiality of electronic communications and the tracking of Internet users more broadly.

To comply with the regulations governing cookies under the GDPR and the ePrivacy Directive you must:

This package provides a fully configurable cookie-consent popup for a Laravel project.

Here is a standard use of it. All possibilities are described in this documentation.

Validation popup home

Validation popup preferences (not validated)

Validation popup preferences (validated)

Installation

  1. The package can be installed via composer :

  2. Publish files :

Configuration : allow you to modify the configuration of the displayed popup.

Assets : REQUIRED to proper execution.

Languages : allow you to set the translations.

Views : allow you to modify the displayed popup.

Usage

Add the cookie-consent popup at the end of your "body" tag :

Add content depending on a consent for a cookie key or a group key :

You can also use the method in your php code with the facade.

Configuration

All the configurations of the published "config/cookie-consent.php" file are listed and explained here.

Cookie lifetime

Cookie name

Cookies

Groups

Custom class

IHM ids

Position

Preferences display mode

List display

Group display

Preferences validation mode

Group validation

Item validation

Routes

Update preferences button ids

Contributing

To contribute you can :

License

Distributed under the MIT License. See LICENSE for more information.

Contact

Project Link: https://github.com/Pierre-Adrien/laravel-cookie-consent


All versions of laravel-cookie-consent with dependencies

PHP Build Version
Package Version
No informations.
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package pierre-adrien/laravel-cookie-consent contains the following files

Loading the files please wait ....