{"id":18783717,"url":"https://github.com/tomkyle/dsgvo-twig","last_synced_at":"2026-01-27T14:04:43.209Z","repository":{"id":57071449,"uuid":"134849939","full_name":"tomkyle/dsgvo-twig","owner":"tomkyle","description":"German DSGVO (GDPR) Twig templates","archived":false,"fork":false,"pushed_at":"2019-03-04T10:52:16.000Z","size":49,"stargazers_count":1,"open_issues_count":3,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-24T01:47:11.603Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tomkyle.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-05-25T11:56:17.000Z","updated_at":"2019-03-04T10:52:13.000Z","dependencies_parsed_at":"2022-08-24T10:40:54.363Z","dependency_job_id":null,"html_url":"https://github.com/tomkyle/dsgvo-twig","commit_stats":null,"previous_names":[],"tags_count":23,"template":false,"template_full_name":null,"purl":"pkg:github/tomkyle/dsgvo-twig","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomkyle%2Fdsgvo-twig","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomkyle%2Fdsgvo-twig/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomkyle%2Fdsgvo-twig/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomkyle%2Fdsgvo-twig/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tomkyle","download_url":"https://codeload.github.com/tomkyle/dsgvo-twig/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomkyle%2Fdsgvo-twig/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28814327,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-27T12:25:15.069Z","status":"ssl_error","status_checked_at":"2026-01-27T12:25:05.297Z","response_time":168,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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-07T20:40:23.575Z","updated_at":"2026-01-27T14:04:43.193Z","avatar_url":"https://github.com/tomkyle.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Twig templates for German DSGVO / GDPR \n\n## The Goal \n\nThis templates collection shall provide you [ready-to-use snippets](#available-templates) which only need context variables to be filled in. Any user feel invited to [contribute!](#contributions-welcome)\n\n## Use at own risk\n\n**As “best practices” have not evolved yet, the texts provided here can not be considered “legally bullet-proof”.** In any case, stay in touch with your Data Protection Officer.\n\n## DSGVO Readings\n\n\n**Jens Kubieziel's [DSGVO-Liste](https://github.com/qbi/DSGVO-Liste)** on GitHub   \n„Informationsquellen und weitere Ressourcen zur Datenschutz-Grundverordnung“ \n\n**Lukas Leitsch's [DSGVO-Checkliste](https://github.com/lukasleitsch/dsgvo-checkliste)** on GitHub  \n„Eine Übersicht für Website-Betreiber“\n\n\n\n## Installation\n\nWhilst templates are not PHP, Composer makes it easy to download the templates somewhere and update automatically. Feel free to propose an handsome alternative, opening a new issue: [issues list.][i0]\n\n```bash\n$ composer require tomkyle/dsgvo-twig\n```\n\nTo obtain the stable release one day, use this:\n\n```bash\n$ composer require tomkyle/dsgvo-twig:\"\u003e0.2|^1.0\"\n```\n\n## Usage\n\nFirst add `vendor/tomkyle/dsgvo-twig/templates`to Twig's template paths. Make sure to *append* the templates directory to make sure you can *override* the default template with a customized copy in your primary (app) templates directory. \n\nSee Twig's documentation on [File system loaders](https://twig.symfony.com/doc/2.x/api.html#built-in-loaders).\n\n```php\n\u003c?php\n// The path where Composer installs this package\n$dsgvo_templates_path = 'vendor/tomkyle/dsgvo-twig/templates';\n\n// Instantiate Loader\n$loader = new Twig_Loader_Filesystem([\n\t'my_templates',\n\t$dsgvo_templates_path\n]);\n\n// Alternatively, add DSGVO templates after instantiation\n$loader = ...\n$loader-\u003eaddPath( $dsgvo_templates_path );\n```\n\n\n\n## Available Templates\n\nJump directly to:\n\n- [Intro text](#dsgvointrotwig)\n- [Responsible organisation](#dsgvoresponsibletwig)\n- [Data Protection Officer](#dsgvodpotwig)\n- [Security with SSL/HTTPS](#dsgvohttpstwig)\n- [Google ReCAPTCHA](#dsgvogoogle-recaptchatwig)\n- [Webfonts via Typekit](#dsgvowebfonts-typekittwig)\n- [Videos via YouTube](#dsgvovideos-youtubetwig)\n- [Subject to change](#dsgvochangestwig)\n\n\n\n### [dsgvo.intro.twig](templates/dsgvo.intro.twig)\n\nSome basic introductory text for the top of your privacy terms page.\n\n```php\n\u003c?php\necho $twig-\u003erender('dsgvo.intro.twig', [\n\t'company' =\u003e 'The ACME Company',\n\t\n\t// optional\n\t'company_shortname' =\u003e 'ACME'\n]);\n```\n\n### [dsgvo.responsible.twig](templates/dsgvo.responsible.twig)\n\nInformation about the responsible organisation for your website.\n\n```php\n\u003c?php\necho $twig-\u003erender('dsgvo.resonsible.twig', [\n\t'website_name' =\u003e 'www.test.com',\n\t'email'    =\u003e 'info@test.com',\n\t\n\t// optional:\n\t'company'      =\u003e 'MUSTER-Firma GmbH',\n\t'address'  =\u003e 'Musterstrasse 5',\n\t'zip'      =\u003e '99999',\n\t'city'     =\u003e 'Musterstadt',\n\t'phone'    =\u003e '+4940123456789',\n    'title'         =\u003e 'Verantwortlicher und Geltungsbereich',\n    'website_realm' =\u003e 'das Internetangebot',\n\t'law_name'      =\u003e 'EU-Datenschutz-Grundverordnung',\n\t'law_shortname' =\u003e 'DSGVO',\n\t'company_shortname' =\u003e 'MUSTER',\n\t'region'        =\u003e 'Schleswig-Holstein',\n\t'country'       =\u003e 'Deutschland',\n\t'phone_display' =\u003e '+49 (040) 12345678-9',\n\t'fax_display'   =\u003e '+49 (040) 12345678-1'\n]);\n```\n\n### [dsgvo.dpo.twig](templates/dsgvo.dpo.twig)\n\nInformation about the DPO (Data Processing Officer) for your organisation.\n\n```php\n\u003c?php\necho $twig-\u003erender('dsgvo.dpo.twig', [\n\t'external' =\u003e true,\n\t'name'     =\u003e 'John Doe',\n\t'address'  =\u003e 'Musterstrasse 5',\n\t'zip'      =\u003e '99999',\n\t'city'     =\u003e 'Musterstadt',\n\t'phone'    =\u003e '+4940123456789',\n\t'email'    =\u003e 'privacy@test.com',\n\t\n\t// optional:\n\t'jobtitle' =\u003e 'Zertifiziert als Datenschutzbeauftragter',\n\t'company'  =\u003e 'The External DPO Comp.',\n\t'region'   =\u003e 'Schleswig-Holstein',\n\t'country'  =\u003e 'Deutschland',\n\t'phone_display' =\u003e '+49 (040) 12345678-9',\n\t'fax_display'   =\u003e '+49 (040) 12345678-1'\n]);\n```\n\n\n\n### [dsgvo.rights.twig](templates/dsgvo.rights.twig)\n\nInformation about the user's privacy rights\n\n```php\n\u003c?php\necho $twig-\u003erender('dsgvo.rights.twig');\n```\n\n\n\n### [dsgvo.contact.twig](templates/dsgvo.contact.twig)\n\nInformation about how to contact your company (via email and/or contact form)\n\n```php\n\u003c?php\necho $twig-\u003erender('dsgvo.contact.twig', [\n\t'contactform' =\u003e true        \n]);\n```\n\n\n\n### [dsgvo.https.twig](templates/dsgvo.https.twig)\n\nInformation about SSL/HTTPS transportation.\n\n```php\n\u003c?php\necho $twig-\u003erender('dsgvo.https.twig');\n```\n\n\n\n### [dsgvo.cookies.twig](templates/dsgvo.cookies.twig)\n\nInformation about using cookies and how to avoid them.\n\n```php\n\u003c?php\necho $twig-\u003erender('dsgvo.cookies.twig');\n```\n\n\n\n### [dsgvo.links.twig](templates/dsgvo.links.twig)\n\nExternal links disclaimer\n\n```php\n\u003c?php\necho $twig-\u003erender('dsgvo.links.twig');\n```\n\n\n\n### [dsgvo.google-recaptcha.twig](templates/dsgvo.google-recaptcha.twig)\n\nInformation about Google ReCAPTCHA\n\n```php\n\u003c?php\necho $twig-\u003erender('dsgvo.google-recaptcha.twig', [\n\t// optional:\n\t'google_policy_url' =\u003e 'https://www.google.de/intl/de/policies/privacy/',\n\t'legal_basis'        =\u003e 'Art.\u0026thinsp;6\u0026nbsp;Abs.\u0026thinsp;1\u0026nbsp;lit.\u0026thinsp;b,c\u0026nbsp;DSGVO'\n]);\n```\n\n\n\n### [dsgvo.webfonts-typekit.twig](templates/dsgvo.webfonts-typekit.twig)\n\nInformation about webfonts used on your site.\n\n```php\n\u003c?php\necho $twig-\u003erender('dsgvo.webfonts-typekit.twig', [\n\t// optional:\n\t'typekit_policy_url' =\u003e 'https://www.adobe.com/de/privacy/policies/typekit.html',\n\t'typekit_url'        =\u003e 'https://typekit.com',\n\t'legal_basis'        =\u003e 'Art.\u0026thinsp;6\u0026nbsp;Abs.\u0026thinsp;1\u0026nbsp;lit.\u0026thinsp;f\u0026nbsp;DSGVO'\n]);\n```\n\n\n\n### [dsgvo.videos-youtube.twig](templates/dsgvo.videos-youtube.twig)\n\nInformation about using cookieless YouTube.\n\n```php\n\u003c?php\necho $twig-\u003erender('dsgvo.videos-youtube.twig', [\n\t// optional:\n\t'google_policy_url' =\u003e 'https://www.google.de/intl/de/policies/privacy/'\n]);\n```\n\n\n\n### [dsgvo.changes.twig](templates/dsgvo.changes.twig)\n\nInformation about what is called „Änderungsvorbehalt“ in German.\n\n```php\n\u003c?php\necho $twig-\u003erender('dsgvo.changes.twig');\n```\n\n\n\n\n\n## Contributions welcome!\n\nAny contribution and proposal with this is highly appreciated. Stay up to-date on [issues list.][i0] Also checkout the [Wishlist][wishlist].\n\n[i0]: https://github.com/tomkyle/dsgvo-twig/issues\n[wishlist]: https://github.com/tomkyle/dsgvo-twig/issues/4\n\n\n## Development\n\n```bash\n$ git clone git@github.com:tomkyle/dsgvo-twig.git\n$ cd dsgvo-twig\n$ composer install\n```\n\n\n\n## Unlicense\n\nThis is free and unencumbered software released into the public domain.\n\nAnyone is free to copy, modify, publish, use, compile, sell, or\ndistribute this software, either in source code form or as a compiled\nbinary, for any purpose, commercial or non-commercial, and by any\nmeans.\n\nIn jurisdictions that recognize copyright laws, the author or authors\nof this software dedicate any and all copyright interest in the\nsoftware to the public domain. We make this dedication for the benefit\nof the public at large and to the detriment of our heirs and\nsuccessors. We intend this dedication to be an overt act of\nrelinquishment in perpetuity of all present and future rights to this\nsoftware under copyright law.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR\nOTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,\nARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR\nOTHER DEALINGS IN THE SOFTWARE.\n\nFor more information, please refer to \u003chttp://unlicense.org\u003e\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftomkyle%2Fdsgvo-twig","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftomkyle%2Fdsgvo-twig","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftomkyle%2Fdsgvo-twig/lists"}