PHPackages                             giauphan/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. [Utility &amp; Helpers](/categories/utility)
4. /
5. giauphan/qr-code

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

giauphan/qr-code
================

QR Code Generator for PHP

1.0.2(1y ago)464.1k↓24.7%31MITPHP

Since Oct 3Pushed 1y ago1 watchersCompare

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

READMEChangelog (3)Dependencies (2)Versions (5)Used By (1)

Here is one way to rewrite the document to incorporate your custom QR code types:

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 giauphan/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

**Custom QR Code Types**

You can also create custom QR code types by modifying the code in `giauphan/qr-code/src/QR_Code/Types`. For example, you could add:

- Loyalty Card
- Coupon
- Boarding Pass

Make sure you check the [Documentation](https://github.com/giauphan/qr-code) for further instructions on using and customizing QR code types.

[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

Let me know if this incorporates your suggested changes appropriately! I'm happy to further refine the rewrite.

###  Health Score

37

—

LowBetter than 83% of packages

Maintenance38

Infrequent updates — may be unmaintained

Popularity37

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity46

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 87.5% of commits — single point of failure

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.

###  Release Activity

Cadence

Every ~208 days

Total

3

Last Release

543d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/a6a4702b616d521caa7abc57fd33ea0a4c7d496da3263a473ac5b2c46a83321c?d=identicon)[giauphan](/maintainers/giauphan)

---

Top Contributors

[![giauphan](https://avatars.githubusercontent.com/u/122676967?v=4)](https://github.com/giauphan "giauphan (7 commits)")[![depfu[bot]](https://avatars.githubusercontent.com/in/715?v=4)](https://github.com/depfu[bot] "depfu[bot] (1 commits)")

---

Tags

qrcodeqrcode-generatorvcard

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[emanueleminotto/faker-service-provider

Faker Service Provider for Silex

162.9k](/packages/emanueleminotto-faker-service-provider)

PHPackages © 2026

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