{"id":16075053,"url":"https://github.com/accessd/qrcode-library","last_synced_at":"2026-05-16T09:07:25.361Z","repository":{"id":147575867,"uuid":"220043573","full_name":"accessd/qrcode-library","owner":"accessd","description":null,"archived":false,"fork":false,"pushed_at":"2019-11-06T16:39:50.000Z","size":134,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-21T00:05:03.105Z","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":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/accessd.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","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}},"created_at":"2019-11-06T16:38:55.000Z","updated_at":"2019-11-06T16:39:53.000Z","dependencies_parsed_at":"2023-05-31T16:15:57.811Z","dependency_job_id":null,"html_url":"https://github.com/accessd/qrcode-library","commit_stats":{"total_commits":1,"total_committers":1,"mean_commits":1.0,"dds":0.0,"last_synced_commit":"b14f1f25e29d0b7d08d841596dea69109eaf7475"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/accessd%2Fqrcode-library","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/accessd%2Fqrcode-library/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/accessd%2Fqrcode-library/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/accessd%2Fqrcode-library/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/accessd","download_url":"https://codeload.github.com/accessd/qrcode-library/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240409561,"owners_count":19796793,"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-10-09T09:01:50.002Z","updated_at":"2026-05-16T09:07:25.302Z","avatar_url":"https://github.com/accessd.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"QrCode Helper for Yii2\n======================\n\n[![Latest Version](https://img.shields.io/github/tag/2amigos/yii2-qrcode-helper.svg?style=flat-square\u0026label=release)](https://github.com/2amigos/yii2-qrcode-helper/tags)\n[![Software License](https://img.shields.io/badge/license-BSD-brightgreen.svg?style=flat-square)](LICENSE.md)\n[![Build Status](https://img.shields.io/travis/2amigos/yii2-qrcode-helper/master.svg?style=flat-square)](https://travis-ci.org/2amigos/yii2-qrcode-helper)\n[![Coverage Status](https://img.shields.io/scrutinizer/coverage/g/2amigos/yii2-qrcode-helper.svg?style=flat-square)](https://scrutinizer-ci.com/g/2amigos/yii2-qrcode-helper/code-structure)\n[![Quality Score](https://img.shields.io/scrutinizer/g/2amigos/yii2-qrcode-helper.svg?style=flat-square)](https://scrutinizer-ci.com/g/2amigos/yii2-qrcode-helper)\n[![Total Downloads](https://img.shields.io/packagist/dt/2amigos/yii2-qrcode-helper.svg?style=flat-square)](https://packagist.org/packages/2amigos/yii2-qrcode-helper)\n\n\nQrCode helper allows you to render QrCodes on your Yii2 applications.\n\nInstallation\n------------\nThe preferred way to install this extension is through [composer](http://getcomposer.org/download/).\n\nEither run\n\n```\nphp composer.phar require 2amigos/yii2-qrcode-helper:~1.0\n```\nor add\n\n```json\n\"2amigos/yii2-qrcode-helper\" : \"~1.0\"\n```\n\nto the require section of your application's `composer.json` file.\n\nUsage\n-----\n\nThe helper comes with some format helper classes that will help you to create the different type of QrCodes that a\nmobile phone scanner will understand.\n\nThe library comes with the following formats:\n\n- Bitcoin\n- BookMark\n- Geo\n- iCal\n- MailMessage\n- MailTo\n- MeCard\n- MMS\n- Phone\n- Sms\n- vCard\n- Wifi\n- Youtube\n\nThere are many more out there, we hope the community will helps us improve the library with `facebook`, `google maps`,\n`youtube`, and `market` links. If not, we will add them whenever we have time :)\n\nTo render the qrcode, add this to your HTML page:\n\n```html\n\u003cimg src=\"\u003c?= Url::to(['route/qrcode'])?\u003e\" /\u003e\n```\n\nNow, use it on your action:\n\n```php\nuse dosamigos\\qrcode\\formats\\MailTo;\nuse dosamigos\\qrcode\\QrCode;\n\n\\\\ ...\n\npublic function actionQrcode() {\n    $mailTo = new MailTo(['email' =\u003e 'email@example.com']);\n    return QrCode::png($mailTo-\u003egetText());\n    // you could also use the following\n    // return return QrCode::png($mailTo);\n}\n\n```\n\nThat's it, you should have a beautiful QrCode image on your website.\n\n## Testing\n\n``` bash\n$ phpunit\n```\n\n## Contributing\n\nPlease see [CONTRIBUTING](CONTRIBUTING.md) for details.\n\n## Credits\n\n- [Antonio Ramirez](https://github.com/tonydspaniard)\n- [All Contributors](../../contributors)\n\n## License\n\nThe BSD License (BSD). Please see [License File](LICENSE.md) for more information.\n\n\n\u003e [![2amigOS!](http://www.gravatar.com/avatar/55363394d72945ff7ed312556ec041e0.png)](http://www.2amigos.us)\n\n\u003ci\u003eWeb development has never been so fun!\u003c/i\u003e  \n[www.2amigos.us](http://www.2amigos.us)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faccessd%2Fqrcode-library","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faccessd%2Fqrcode-library","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faccessd%2Fqrcode-library/lists"}