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

ActiveLibrary

splitbrain/php-qrcode
=====================

Minimalist SVG based QRCode Generator

0.1(4y ago)2042.7k↓20.1%5[1 PRs](https://github.com/splitbrain/php-qrcode/pulls)1MITPHP

Since Mar 10Pushed 2y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (2)Used By (1)

phpQRCode
=========

[](#phpqrcode)

### Generate SVG QR Codes. MIT license.

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

This is a stripped down version of  inspired by another version at

Install via composer:

```
composer require splitbrain/php-qrcode

```

Usage:

```
use splitbrain\phpQRCode\QRCode;
echo QRCode::svg('hello world');

```

The above will directly output the generated SVG file. This file has no styles attached. Use CSS to style howver you want it:

```
svg {
    width: 10em;
    height: 10em;
    fill: #ff0000;
}

```

### Options:

[](#options)

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

```
    qrl
    qrm
    qrq
    qrh

```

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity39

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity38

Early-stage or recently created project

 Bus Factor1

Top contributor holds 75% 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

Unknown

Total

1

Last Release

1530d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2851a48718937a41d7cc7ea185ec0ad95f3d5e4892e1693ed4f19b08a3f1e4ca?d=identicon)[splitbrain](/maintainers/splitbrain)

---

Top Contributors

[![RebeccaRGB](https://avatars.githubusercontent.com/u/1642055?v=4)](https://github.com/RebeccaRGB "RebeccaRGB (6 commits)")[![splitbrain](https://avatars.githubusercontent.com/u/86426?v=4)](https://github.com/splitbrain "splitbrain (2 commits)")

---

Tags

phpqrcodeqrcode-generator

### Embed Badge

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

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

PHPackages © 2026

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