PHPackages                             worksection/qrcode - 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. worksection/qrcode

ActiveLibrary

worksection/qrcode
==================

QRCode class (make usable packe from https://github.com/psyon/php-qrcode code)

1.0.1(4y ago)011.9k↓100%PHPPHP &gt;=7.0.0

Since Jun 17Pushed 2y ago1 watchersCompare

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

READMEChangelog (1)DependenciesVersions (4)Used By (0)

qrcode.php
==========

[](#qrcodephp)

### Generate QR Codes. MIT license.

[](#generate-qr-codes-mit-license)

Use from a PHP script:

```
include 'qrcode.php';

$generator = new QRCode($data, $options);

/* Output directly to standard output. */
$generator->output_image();

/* Create bitmap image. */
$image = $generator->render_image();
imagepng($image);
imagedestroy($image);

```

Use with GET or POST:

```
qrcode.php?s={symbology}&d={data}&{options}

```

e.g.

```
qrcode.php?s=qr&d=HELLO%20WORLD&sf=8&ms=r&md=0.8

```

#### Options:

[](#options)

`s` - Symbology (type of QR code). One of:

```
    qr
    qr-l
    qr-m
    qr-q
    qr-h

```

`d` - Data. Encode in Shift-JIS for kanji mode.

`w` - Width of image. Overrides `sf` or `sx`.

`h` - Height of image. Overrides `sf` or `sy`.

`sf` - Scale factor. Default is 4.

`sx` - Horizontal scale factor. Overrides `sf`.

`sy` - Vertical scale factor. Overrides `sf`.

`p` - Padding. Default is 0.

`pv` - Top and bottom padding. Default is value of `p`.

`ph` - Left and right padding. Default is value of `p`.

`pt` - Top padding. Default is value of `pv`.

`pl` - Left padding. Default is value of `ph`.

`pr` - Right padding. Default is value of `ph`.

`pb` - Bottom padding. Default is value of `pv`.

`bc` - Background color in `#RRGGBB` format.

`fc` - Foreground color in `#RRGGBB` format.

`md` - Module density. A number between 0 and 1. Default is 1.

`wq` - Width of quiet area units. Default is 1. Use 0 to suppress quiet area.

`wm` - Width of narrow modules and spaces. Default is 1.

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity24

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~21 days

Total

2

Last Release

1766d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0305c909e718f5addcfac4947fa258274c167f4baf16cab960a141a24d95f7f8?d=identicon)[Worksection](/maintainers/Worksection)

---

Top Contributors

[![vadymskk](https://avatars.githubusercontent.com/u/68269374?v=4)](https://github.com/vadymskk "vadymskk (12 commits)")

### Embed Badge

![Health badge](/badges/worksection-qrcode/health.svg)

```
[![Health](https://phpackages.com/badges/worksection-qrcode/health.svg)](https://phpackages.com/packages/worksection-qrcode)
```

PHPackages © 2026

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