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

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

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

The consent register shared by the Cookie Consent Kit integrations that keep one: its schema, its storage and its queries.

Integration Package
Statamic 6 quebecstudio-mods/statamic-consent-kit 6.x

Requires PHP 8.2, illuminate/database, illuminate/support and quebecstudio-mods/consent-kit-core. It holds no panel and no HTTP layer: an integration decides what to record and how to show it, this keeps it.

quebecstudio-mods/laravel-consent-kit does not use it — it renders the banner and leaves the register to the application. craftcms-consent-kit keeps its own, in Craft CMS table and column conventions.

Contents

Path What it is
src/Connection.php Which database the register is kept in
src/Register.php Storage and queries: store, page, find, purge
database/migrations/ The two tables, consent_decisions and consent_presentations

Schema

consent_decisions holds one row per reported answer: the site, the language, the user when the site records one, what was pressed, where from, the categories granted and the resulting outcome.

consent_presentations holds one row per distinct banner screen, keyed by the fingerprint Presentation computes in the core. Decisions point at it, so a screen shown a million times is stored once, and a stored decision can be replayed against the exact wording it answered.

Which database

Connection::name() resolves, in order:

  1. cookie-consent.register.connection, when the site names one;
  2. the site's own default connection, when it opens;
  3. a SQLite file in storage/cookie-consent/register.sqlite, declared and migrated by Connection::migrate().

Using it

Reading a page, either from plain filters or from a query the integration has already filtered:

Retention is the core's: Registry::cutoff() gives the date beyond which a record has outlived what it attests, and $register->purge($cutoff) deletes those rows, then the screens no decision points at any more.

Licence

Proprietary. See LICENSE.md.


All versions of consent-kit-register with dependencies

PHP Build Version
Package Version
Requires php Version >=8.2
illuminate/database Version ^11.0 || ^12.0 || ^13.0
illuminate/support Version ^11.0 || ^12.0 || ^13.0
quebecstudio-mods/consent-kit-core Version ^1.2
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/consent-kit-register contains the following files

Loading the files please wait ...