定制 locomotivemtl/charcoal-contrib-cookie-consent 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

locomotivemtl/charcoal-contrib-cookie-consent

最新稳定版本:1.1.3

Composer 安装命令:

composer require locomotivemtl/charcoal-contrib-cookie-consent

包简介

Charcoal module for cookie consent support useing vanilla-cookieconsent.

README 文档

README

License Latest stable version Supported PHP versions

The Charcoal Cookie Consent package provides an integration with vanilla-cookieconsent for a simple cross-browser plugin written in vanilla JS that is configurable from the Admin.

Installation

composer require locomotivemtl/charcoal-contrib-cookie-consent

Setup

Charcoal Module

For Charcoal projects, the module can be registered from your configuration file:

{
    "modules": {
        "charcoal/cookie-consent/cookie-consent": {}
    }
}

The module will automatically register the service provider, the metadata path, and the Admin dashboard routing.

Charcoal Service Provider

If you are not using the module, the service provider can be registered from your configuration file:

{
    "service_providers": {
        "charcoal/cookie-consent/cookie-consent": {}
    }
}

Consult the package configuration files for what to add to your project.

Models

After the module or service provider has been registered, create the database table for the primary model for configuring and disclosing cookie consent information:

./vendor/bin/charcoal admin/object/table/create --obj-type=charcoal/cookie-consent/model/disclosure
./vendor/bin/charcoal admin/object/table/create --obj-type=charcoal/cookie-consent/model/category

Service Provider

Parameters

--TBD--

Services

--TBD--

Configuration

If you are using the module, the package can be configured via its module registration:

{
    "modules": {
        "charcoal/cookie-consent/cookie-consent": {
            // See available options below.
        }
    }
}

Alternatively, it can be configured via your application configuration:

{
    "cookie_consent": {
        // See available options below.
    }
}

Usage

--TBD--

Credits

License

Charcoal is licensed under the MIT license.

Resources

🚂

统计信息

  • 总下载量: 101
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 9
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-03-14