Download the PHP package tk-wordpress/tk-cookie-manager without Composer

On this page you can find all versions of the php package tk-wordpress/tk-cookie-manager. 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 tk-cookie-manager

Cookie Manager

Inform visitors about used cookies and block scripts until consent is given. In addition, block automatically embedded external contents until visitor accepts the platform.

Features

Shortcodes

Link to open cookie infobox

Examples:

Attributes:

Attribute: Description:
label (optional) Label for the link. (Can also be set via shortcode content.)

Platforms list to allow/disallow platform embeds

Examples:

Attributes:

Attribute: Description:
platforms (optional) Comma-separated list of platforms to filter. If this attribute is given, only these platforms will be listed.

List of available platforms:

Override templates

To override templates, you can either...

Hooks

Actions

Name: Description:
tk_cookie_manager_load_template Fires before a template is loaded.

Filters

Name: Description:
tk_cookie_manager/admin/settings/infobox/layouts Fires before the possible layouts are applied to the template.
tk_cookie_manager/admin/editor_plugins Fires before applying editor plugins to settings page.
tk_cookie_manager/admin/editor_toolbar1 Fires before applying toolbar 1 elements to settings page.
tk_cookie_manager/admin/editor_toolbar2 Fires before applying toolbar 2 elements to settings page.
tk_cookie_manager/admin/editor_quicktags Fires before applying quicktags flag to settings page.
tk_cookie_manager/admin/editor_mediabuttons Fires before applying media buttons flag to settings page.
tk_cookie_manager/admin/settings/tabs Fires before applying available tabs to options page.
tk_cookie_manager/admin/settings/current_tab Fires before applying current tab to options page.
tk_cookie_manager/admin/settings/fields Fires when the fields for the current tab are required. Returns an array of class names in order of appearance. The classes must extend TimonKreis\CookieManager\Admin\Settings\Fields\AbstractField.
tk_cookie_manager/admin/settings/infobox/skins Fires before the possible skins are applied to the template.
tk_cookie_manager/general/css Fires before applying custom CSS to frontend.
tk_cookie_manager/embedded_contents/privacy_policy_link Fires before applying value of privacy policy link to the embedded container.
tk_cookie_manager/infobox/layout Fires before applying layout to the infobox.
tk_cookie_manager/infobox/skin Fires before applying skin to the infobox.
tk_cookie_manager/infobox/headline Fires before applying headline to the infobox.
tk_cookie_manager/infobox/description Fires before applying description to the infobox.
tk_cookie_manager/infobox/cookie_groups Fires before applying cookie groups to the infobox.
tk_cookie_manager/infobox/privacy_policy_link Fires before applying value of privacy policy link to the infobox.
tk_cookie_manager/infobox/imprint_link Fires before applying value of imprint link to the infobox.
tk_cookie_manager/infobox/footer_links Fires before applying footer links to the infobox.
tk_cookie_manager/infobox/version Fires before applying version to the infobox.
tk_cookie_manager/infobox/cookie_html Fires before applying cookie group HTML to the infobox.
tk_cookie_manager/platforms Fires before returning available platforms.
tk_cookie_manager/shortcode/infobox_opener/label Fires before applying infobox opener label to the link.
tk_cookie_manager/shortcode/embedded_contents_table/platforms Fires before applying platforms to embedded contents table.
tk_cookie_manager_template_variables Fires before the variables are applied to the template.
tk_cookie_manager_template_paths Fires before the template is searched in the paths.

All versions of tk-cookie-manager with dependencies

PHP Build Version
Package Version
Requires php Version >=7.1
ext-json Version *
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 tk-wordpress/tk-cookie-manager contains the following files

Loading the files please wait ....