{"id":18517872,"url":"https://github.com/mpdf/qrcode","last_synced_at":"2025-07-16T21:34:35.355Z","repository":{"id":45137008,"uuid":"165655846","full_name":"mpdf/qrcode","owner":"mpdf","description":"QR code generating library with HTML/PNG/mPDF output possibilities","archived":false,"fork":false,"pushed_at":"2024-07-02T14:57:33.000Z","size":1045,"stargazers_count":45,"open_issues_count":2,"forks_count":14,"subscribers_count":4,"default_branch":"development","last_synced_at":"2025-03-31T11:08:00.814Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mpdf.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"custom":"https://www.paypal.me/mpdf"}},"created_at":"2019-01-14T12:14:48.000Z","updated_at":"2024-09-06T14:43:50.000Z","dependencies_parsed_at":"2025-02-16T00:01:18.330Z","dependency_job_id":null,"html_url":"https://github.com/mpdf/qrcode","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/mpdf%2Fqrcode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mpdf%2Fqrcode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mpdf%2Fqrcode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mpdf%2Fqrcode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mpdf","download_url":"https://codeload.github.com/mpdf/qrcode/tar.gz/refs/heads/development","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247657281,"owners_count":20974345,"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-06T17:10:01.641Z","updated_at":"2025-04-07T13:09:28.157Z","avatar_url":"https://github.com/mpdf.png","language":"HTML","funding_links":["https://www.paypal.me/mpdf"],"categories":[],"sub_categories":[],"readme":"# mPDF QR code library\n\nQR code generating library with HTML/PNG/mPDF output possibilities.\n\n[![Build Status](https://travis-ci.org/mpdf/qrcode.svg?branch=development)](https://travis-ci.org/mpdf/mpdf)\n\nThis is based on QrCode library bundled with mPDF until v8.0, made by Laurent Minguet. It is provided under LGPL license.\n\n## Installation\n\n```sh\n$ composer require mpdf/qrcode\n```\n\n## Usage\n\n```php\n\u003c?php\n\nuse Mpdf\\QrCode\\QrCode;\nuse Mpdf\\QrCode\\Output;\n\n$qrCode = new QrCode('Lorem ipsum sit dolor');\n\n// Save black on white PNG image 100 px wide to filename.png. Colors are RGB arrays.\n$output = new Output\\Png();\n$data = $output-\u003eoutput($qrCode, 100, [255, 255, 255], [0, 0, 0]);\nfile_put_contents('filename.png', $data);\n\n// Echo a SVG file, 100 px wide, black on white.\n// Colors can be specified in SVG-compatible formats\n$output = new Output\\Svg();\necho $output-\u003eoutput($qrCode, 100, 'white', 'black');\n\n// Echo an HTML table\n$output = new Output\\Html();\necho $output-\u003eoutput($qrCode);\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmpdf%2Fqrcode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmpdf%2Fqrcode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmpdf%2Fqrcode/lists"}