{"id":15045093,"url":"https://github.com/nucleos/nucleosgdprbundle","last_synced_at":"2025-10-25T00:31:42.925Z","repository":{"id":37081314,"uuid":"134898117","full_name":"nucleos/NucleosGDPRBundle","owner":"nucleos","description":"⚖️ This bundle provides a GDPR conform cookie information for symfony applications.","archived":false,"fork":false,"pushed_at":"2025-01-28T05:09:13.000Z","size":2930,"stargazers_count":11,"open_issues_count":9,"forks_count":2,"subscribers_count":2,"default_branch":"2.8.x","last_synced_at":"2025-01-31T04:32:07.280Z","etag":null,"topics":["blocker","bundle","dsgvo","floc","gdpr","sonata","sonata-block","symfony","symfony-bundle"],"latest_commit_sha":null,"homepage":"https://nucleos.rocks","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/nucleos.png","metadata":{"funding":{"github":"core23","open_collective":"core23","ko_fi":"core23","custom":"https://donate.core23.de"},"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-05-25T19:44:39.000Z","updated_at":"2024-12-19T20:43:31.000Z","dependencies_parsed_at":"2023-12-21T15:49:49.531Z","dependency_job_id":"f0ccb25c-42e4-4c68-ae84-f51a36d64460","html_url":"https://github.com/nucleos/NucleosGDPRBundle","commit_stats":{"total_commits":936,"total_committers":7,"mean_commits":"133.71428571428572","dds":0.2959401709401709,"last_synced_commit":"f30b8f174a5a10c930b91eab24acdcf31d8c60d7"},"previous_names":[],"tags_count":20,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nucleos%2FNucleosGDPRBundle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nucleos%2FNucleosGDPRBundle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nucleos%2FNucleosGDPRBundle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nucleos%2FNucleosGDPRBundle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nucleos","download_url":"https://codeload.github.com/nucleos/NucleosGDPRBundle/tar.gz/refs/heads/2.8.x","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238053514,"owners_count":19408699,"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":["blocker","bundle","dsgvo","floc","gdpr","sonata","sonata-block","symfony","symfony-bundle"],"created_at":"2024-09-24T20:51:26.934Z","updated_at":"2025-10-25T00:31:42.588Z","avatar_url":"https://github.com/nucleos.png","language":"PHP","funding_links":["https://github.com/sponsors/core23","https://opencollective.com/core23","https://ko-fi.com/core23","https://donate.core23.de"],"categories":[],"sub_categories":[],"readme":"WARNING: This repository is deprecated\n======================================\n\nThis project will no longer receive any updates.\n\nYou might use [klaro.js](https://github.com/klaro-org/klaro-js) instead.\n\nNucleosGDPRBundle\n=================\n[![Latest Stable Version](https://poser.pugx.org/nucleos/gdpr-bundle/v/stable)](https://packagist.org/packages/nucleos/gdpr-bundle)\n[![Latest Unstable Version](https://poser.pugx.org/nucleos/gdpr-bundle/v/unstable)](https://packagist.org/packages/nucleos/gdpr-bundle)\n[![License](https://poser.pugx.org/nucleos/gdpr-bundle/license)](https://packagist.org/packages/nucleos/gdpr-bundle)\n\n[![Total Downloads](https://poser.pugx.org/nucleos/gdpr-bundle/downloads)](https://packagist.org/packages/nucleos/gdpr-bundle)\n[![Monthly Downloads](https://poser.pugx.org/nucleos/gdpr-bundle/d/monthly)](https://packagist.org/packages/nucleos/gdpr-bundle)\n[![Daily Downloads](https://poser.pugx.org/nucleos/gdpr-bundle/d/daily)](https://packagist.org/packages/nucleos/gdpr-bundle)\n\n[![Continuous Integration](https://github.com/nucleos/NucleosGDPRBundle/workflows/Continuous%20Integration/badge.svg?event=push)](https://github.com/nucleos/NucleosGDPRBundle/actions?query=workflow%3A\"Continuous+Integration\"+event%3Apush)\n[![Code Coverage](https://codecov.io/gh/nucleos/NucleosGDPRBundle/graph/badge.svg)](https://codecov.io/gh/nucleos/NucleosGDPRBundle)\n[![Type Coverage](https://shepherd.dev/github/nucleos/NucleosGDPRBundle/coverage.svg)](https://shepherd.dev/github/nucleos/NucleosGDPRBundle)\n\nThis bundle provides a GDPR conform cookie information for symfony applications.\n\n## Installation\n\nOpen a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:\n\n```\ncomposer require nucleos/gdpr-bundle\n```\n\n### Enable the Bundle\n\nThen, enable the bundle by adding it to the list of registered bundles in `config/bundles.php` file of your project:\n\n```php\n// config/bundles.php\n\nreturn [\n    // ...\n    Nucleos\\NucleosGDPRBundle\\NucleosGDPRBundle::class =\u003e ['all' =\u003e true],\n];\n```\n\n### Block cookies\n\nBy default all cookies are kept, also the cookie consent was not set.\nTo block all domain cookies, you can set the following config.\n\n```yaml\n# config/packages/nucleos_gdpr.yaml\n\nnucleos_gdpr:\n    block_cookies: null\n```\n\nYou can define a list of cookies that are kept:\n\n```yaml\n# config/packages/nucleos_gdpr.yaml\n\nnucleos_gdpr:\n    block_cookies:\n        keep:\n          - PHPSESSID\n          - ADMIN_.*\n```\n\n\n### Google FLoC (Federated Learning of Cohorts)\n\nBy default a `Permissions-Policy` header is added to every response to respect user privacy. You can enable Google FLoC tracking via the following configuration:\n\n```yaml\n# config/packages/nucleos_gdpr.yaml\n\nnucleos_gdpr:\n    privacy:\n        google_floc: true\n```\n\n\n### Assets\n\nIt is recommended to use [webpack](https://webpack.js.org/) / [webpack-encore](https://github.com/symfony/webpack-encore)\nto include the `GdprPopup.js` and `GdprPopup.css` file in your page. These files are located in the `assets` folder.\n\n## Usage\n\n```twig\n{# template.twig #}\n\n{{ sonata_block_render({ 'type': 'nucleos_gdpr.block.information' }, {\n    'url': 'https://example.com/gdpr',\n    'text': 'Example text' // optional\n}) }}\n```\n\n## License\n\nThis bundle is under the [MIT license](LICENSE.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnucleos%2Fnucleosgdprbundle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnucleos%2Fnucleosgdprbundle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnucleos%2Fnucleosgdprbundle/lists"}