{"id":29020261,"url":"https://github.com/webdna/craft-qrcode","last_synced_at":"2025-06-26T01:04:59.668Z","repository":{"id":34077836,"uuid":"169069984","full_name":"webdna/craft-qrcode","owner":"webdna","description":null,"archived":false,"fork":false,"pushed_at":"2024-04-17T07:47:55.000Z","size":73,"stargazers_count":4,"open_issues_count":0,"forks_count":8,"subscribers_count":1,"default_branch":"craft5","last_synced_at":"2025-06-06T09:15:37.028Z","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/webdna.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2019-02-04T11:42:10.000Z","updated_at":"2022-07-08T14:49:52.000Z","dependencies_parsed_at":"2024-04-17T08:43:59.026Z","dependency_job_id":"2d943fc8-cf33-41c1-8476-5e693dc78573","html_url":"https://github.com/webdna/craft-qrcode","commit_stats":{"total_commits":19,"total_committers":7,"mean_commits":"2.7142857142857144","dds":0.5789473684210527,"last_synced_commit":"37acc16a5386d4a9917a5755b0e83d8470c9140d"},"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"purl":"pkg:github/webdna/craft-qrcode","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webdna%2Fcraft-qrcode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webdna%2Fcraft-qrcode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webdna%2Fcraft-qrcode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webdna%2Fcraft-qrcode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/webdna","download_url":"https://codeload.github.com/webdna/craft-qrcode/tar.gz/refs/heads/craft5","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webdna%2Fcraft-qrcode/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261978912,"owners_count":23239417,"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":"2025-06-26T01:04:57.982Z","updated_at":"2025-06-26T01:04:59.580Z","avatar_url":"https://github.com/webdna.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# QRCode plugin for Craft CMS 5.x\n\nGenerate a QR code\n\n## Requirements\n\nThis plugin requires Craft CMS 5.0 or later.\n\n## Installation\n\nTo install the plugin, follow these instructions.\n\n1.  Open your terminal and go to your Craft project:\n\n```\n    cd /path/to/project\n```\n\n2.  Then tell Composer to load the plugin:\n\n```\n    composer require webdna/qrcode\n```\n\n3.  In the Control Panel, go to Settings → Plugins and click the “Install” button for QRCode.\n\n## QRCode Overview\n\nThis allows the generation of a QRCode via a fieldtype, variable or twig filter.\n\n## QRCode Options\n\nAll instances of QRCode accept the following parameters:\n\n1. **Data**: the data for the code.\n2. **Size**: the size in pixels (default: 300)\n\n## Using QRCode\n\nFieldtype:\nIn the fieldtype settings, you can use twig to dynamically get properties of the element that it is set on. eg on a user element:\n\n```\n    {\"name\":\"{{ user.fullName }}\"}\n```\n\nTwig variables:\n\n```\n    {{ craft.qrcode.generate(1234567890) }}\n\n    {{ craft.qrcode.generate({\"name\":\"John Smith\"}, 100) }}\n```\n\nTwig Filters:\n\n```\n    {{ 1234567890|qrcode }}\n\n    {{ {\"name\":\"John Smith\"}|qrcode(100) }}\n```\n\n\n\nBrought to you by [webdna](https://webdna.co.uk)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebdna%2Fcraft-qrcode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwebdna%2Fcraft-qrcode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebdna%2Fcraft-qrcode/lists"}