PHPackages                             revelare/qr-code - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Image &amp; Media](/categories/media)
4. /
5. revelare/qr-code

ActiveLibrary[Image &amp; Media](/categories/media)

revelare/qr-code
================

QR Code Generator for PHP

045PHPCI failing

Since May 23Pushed 7y agoCompare

[ Source](https://github.com/revelare/qr-code)[ Packagist](https://packagist.org/packages/revelare/qr-code)[ RSS](/packages/revelare-qr-code/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependenciesVersions (1)Used By (0)

[![Build Status](https://camo.githubusercontent.com/4def728b26e8f0cccc3d0a6b58cce94913b0dbcc3469fb4a8dc8edd3a5175a9a/68747470733a2f2f7472617669732d63692e6f72672f7765726e65636b62682f71722d636f64652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/werneckbh/qr-code)[![Maintainability](https://camo.githubusercontent.com/cf53253873191d1b415aa1bd4076ed384e31406223d0fe4a718636466b7c3ed9/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f31353664363134623738643838656337626665392f6d61696e7461696e6162696c697479)](https://codeclimate.com/github/werneckbh/qr-code/maintainability)[![Test Coverage](https://camo.githubusercontent.com/1628b4cad37da4a64cec001bb9856dad969cbbffe86510d3b7d5f6a20b206ea9/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f31353664363134623738643838656337626665392f746573745f636f766572616765)](https://codeclimate.com/github/werneckbh/qr-code/test_coverage)

This package has been discontinued by the owner and this is a backup for internal use.
======================================================================================

[](#this-package-has-been-discontinued-by-the-owner-and-this-is-a-backup-for-internal-use)

QR Code Generator for PHP
=========================

[](#qr-code-generator-for-php)

Based on the popular library [PHP QR Code](http://phpqrcode.sourceforge.net), this package lets you create several different QR Codes.

**Note**
Due to the number of permutations this library does, it is normal to have more than one QR Code for the same information.

To demonstrate this behavior, start a server at the **public** folder, enter some data and hit the **Generate QR Code** button a few times.

Each time you hit the button there is a chance a different QR Code with the same encoded information will be generated. Independently of the number of permutations, this package will generate one and only one PNG or SVG file for each content, overwriting the latest one every time.

Installation
------------

[](#installation)

Install using **composer**:

```
$ composer require werneckbh/qr-code
```

QR Code Types
-------------

[](#qr-code-types)

QR Code Generator for PHP supports the following QR Codes:

- Calendar Event
- Email Message
- Phone
- SMS
- Text
- URL
- meCard
- vCard v3
- Wi-fi Network Settings

Make sure you check the [Documentation](https://werneckbh.github.io/qr-code/) for further instructions.

[Contributing](CONTRIBUTING.md)
-------------------------------

[](#contributing)

To contribute to this project, please do the following:

- Fork it
- Create a new branch for your contribution
- Test it! Make sure it works and it won't break the master code
- Send pull request

Contributors will be added to package descriptor. Make sure you abide to the [Contributor Covenant Code of Conduct](CODE_OF_CONDUCT.md)

[License](LICENSE.md)
---------------------

[](#license)

**(MIT)**

Copyright 2018 Bruno Vaula Werneck

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

###  Health Score

19

—

LowBetter than 9% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity37

Early-stage or recently created project

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/43553133?v=4)[Agência Revelare](/maintainers/revelare)[@revelare](https://github.com/revelare)

### Embed Badge

![Health badge](/badges/revelare-qr-code/health.svg)

```
[![Health](https://phpackages.com/badges/revelare-qr-code/health.svg)](https://phpackages.com/packages/revelare-qr-code)
```

###  Alternatives

[goat1000/svggraph

Generates SVG graphs

135911.1k3](/packages/goat1000-svggraph)[gravatarphp/gravatar

Gravatar URL builder which is most commonly called as a Gravatar library

16653.6k2](/packages/gravatarphp-gravatar)[rsoury/wp-imgix

Rewrites WordPress image URLs to use ImgIX

167.2k](/packages/rsoury-wp-imgix)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
