rampeur/cookie-consent-bundle 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

rampeur/cookie-consent-bundle

Composer 安装命令:

composer require rampeur/cookie-consent-bundle

包简介

Symfony 4 Bundle for the Cookie Consent Plugin.

README 文档

README

Latest Stable Version Total Downloads Latest Unstable Version License

Symfony Bundle for the popular Cookie Consent plugin.

Ce projet est un fork de Cookie Consent Bundle pour Symfony4 par Shapecode

Install

Via Composer

$ composer require rampeur/cookie-consent-bundle

Enable the bundle in your kernel:

<?php
// app/AppKernel.php

public function registerBundles()
{
    $bundles = array(
        // ...
        new Rampeur\Bundle\CookieConsentBundle\RampeurCookieConsentBundle(),
    );
}

Usage

Configure the bundle:

rampeur_cookie_consent:
    // url to your privacy policy 
    policy_url: http://example.com/privacy
    
    // default layout options
    layout:
        position: top
        static: false
        theme: edgeless
        palette:
            popup:
                background: #252e39
                text: #ffffff
            button:
                background: #14a7d0
                text: #ffffff

Note: Translations are in RampeurCookieConsent.fr domain.

Use the cookie_consent method in your Twig template: {{ cookie_consent() }}

License

The MIT License (MIT). Please see License File for more information.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2019-08-15

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固