{"id":18496923,"url":"https://github.com/shapecode/cookie-consent-bundle","last_synced_at":"2025-05-14T04:36:22.715Z","repository":{"id":52402550,"uuid":"134827860","full_name":"shapecode/cookie-consent-bundle","owner":"shapecode","description":null,"archived":false,"fork":false,"pushed_at":"2022-09-30T15:40:15.000Z","size":117,"stargazers_count":0,"open_issues_count":2,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-12-25T17:29:05.596Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/shapecode.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-05-25T08:31:28.000Z","updated_at":"2020-10-16T23:21:15.000Z","dependencies_parsed_at":"2022-09-06T21:41:39.570Z","dependency_job_id":null,"html_url":"https://github.com/shapecode/cookie-consent-bundle","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shapecode%2Fcookie-consent-bundle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shapecode%2Fcookie-consent-bundle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shapecode%2Fcookie-consent-bundle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shapecode%2Fcookie-consent-bundle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shapecode","download_url":"https://codeload.github.com/shapecode/cookie-consent-bundle/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239212566,"owners_count":19600833,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-06T13:32:34.360Z","updated_at":"2025-02-17T00:17:31.638Z","avatar_url":"https://github.com/shapecode.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Shapecode Cookie Consent Bundle\n\n[![Latest Stable Version](https://poser.pugx.org/shapecode/cookie-consent-bundle/v/stable)](https://packagist.org/packages/shapecode/cookie-consent-bundle)\n[![Total Downloads](https://poser.pugx.org/shapecode/cookie-consent-bundle/downloads)](https://packagist.org/packages/shapecode/cookie-consent-bundle)\n[![Latest Unstable Version](https://poser.pugx.org/shapecode/cookie-consent-bundle/v/unstable)](https://packagist.org/packages/shapecode/cookie-consent-bundle)\n[![License](https://poser.pugx.org/shapecode/cookie-consent-bundle/license)](https://packagist.org/packages/shapecode/cookie-consent-bundle)\n\n**Symfony Bundle for the popular [Cookie Consent plugin](https://cookieconsent.insites.com/).**\n\n## Install\n\nVia Composer\n\n``` bash\n$ composer require shapecode/cookie-consent-bundle\n```\n\nEnable the bundle in your kernel:\n\n``` php\n\u003c?php\n// app/AppKernel.php\n\npublic function registerBundles()\n{\n    $bundles = array(\n        // ...\n        new Shapecode\\Bundle\\CookieConsentBundle\\ShapecodeCookieConsentBundle(),\n    );\n}\n```\n\n## Usage\n\nConfigure the bundle:\n\n``` yaml\nshapecode_cookie_consent:\n    // url to your privacy policy \n    policy_url: http://example.com/privacy\n    \n    // default layout options\n    layout:\n        position: top  \n        static: false\n        theme: edgeless\n        palette:\n            popup:\n                background: #252e39\n                text: #ffffff\n            button:\n                background: #14a7d0\n                text: #ffffff\n```\n\n**Note:** Translations are in `ShapecodeCookieConsent.de` domain.\n\nUse the `cookie_consent` method in your Twig template:\n`{{ cookie_consent() }}`\n\n## License\n\nThe MIT License (MIT). Please see [License File](LICENSE.md) for more information.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshapecode%2Fcookie-consent-bundle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshapecode%2Fcookie-consent-bundle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshapecode%2Fcookie-consent-bundle/lists"}