Download the PHP package quebecstudio-mods/craftcms-consent-kit without Composer

On this page you can find all versions of the php package quebecstudio-mods/craftcms-consent-kit. 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 craftcms-consent-kit

Cookie Consent Kit — quebecstudio-mods/craftcms-consent-kit

Cookie consent banner for Craft CMS 5, built for Quebec's Law 25 and usable under the GDPR. Craft CMS 6 is covered by the 6.x branch.

No third-party cookie is set before the visitor agrees, and the markup is the same for every visitor, so pages stay cacheable.

What it does

With the Pro edition

Editions

Edition What it adds
Lite The banner, the cookie inventory, the video facade
Pro The consent register: server-side proof of what was shown and answered

Everything already recorded stays readable, exportable and purgeable whatever the edition says.

How it works

On every site page:

The HTML is the same for every visitor; JavaScript applies the decision. Pages are safe to cache. Without JavaScript, nothing is activated.

Matomo and GA4 snippets have to keep a queue created before them (window._paq = window._paq || [], window.dataLayer = window.dataLayer || []).

Installation

Requires Craft CMS 5 and PHP 8.2. See Installation for the first steps.

Documentation

Page Content
Installation Requirements, first steps
Configuration Control panel, config file, environment variables, wording files
Templates Twig API, cookie table, YouTube facade, overriding templates
Multisite Per-site and install-wide settings
Settings Every setting, per-site keys, categories and cookies
Wording Language files, keys, adding a language
Styling CSS variables, dark scheme, classes, safe areas
JavaScript API window.qsmConsentKit, conditional tags, consent cookie
Integrations GA4, Matomo, Global Privacy Control, recipes, YouTube facade
Privacy policy Policy link, cookie table, markers
Register Recording decisions, the screen they were made on, exports, retention
Testing Checklist, constraints
Troubleshooting Banner missing, assets, saving, head scripts

Not covered

Licence

The Craft License.

Lite is free, on any number of sites, personal or commercial. Nothing is owed for it, so no payment notice will ever be sent. Pro takes one licence per production environment.

The plugin helps collect consent. It is not legal advice and does not by itself make a website compliant.


All versions of craftcms-consent-kit with dependencies

PHP Build Version
Package Version
Requires php Version ^8.5
craftcms/cms Version ^6.0.0
quebecstudio-mods/consent-kit-core Version ^1.5.1
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 quebecstudio-mods/craftcms-consent-kit contains the following files

Loading the files please wait ...