PHPackages                             qsfx/bacon-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. qsfx/bacon-qr-code

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

qsfx/bacon-qr-code
==================

BaconQrCode is a QR code generator for PHP.

1.0.0(3y ago)01.2k↑212.5%1BSD-2-ClausePHPPHP ^7.0|^8.0

Since Oct 29Pushed 3y ago1 watchersCompare

[ Source](https://github.com/qfsx/BaconQrCode)[ Packagist](https://packagist.org/packages/qsfx/bacon-qr-code)[ Docs](https://github.com/qsfx/BaconQrCode)[ RSS](/packages/qsfx-bacon-qr-code/feed)WikiDiscussions main Synced today

READMEChangelogDependencies (1)Versions (2)Used By (1)

QR Code generator
=================

[](#qr-code-generator)

Master: [![Build Status](https://camo.githubusercontent.com/d01087af68c4a8ba33661eb774fea0463ef90f8e6fb15c4e974e6048ecb62e25/68747470733a2f2f6170692e7472617669732d63692e6f72672f4261636f6e2f4261636f6e5172436f64652e706e673f6272616e63683d6d6173746572)](http://travis-ci.org/Bacon/BaconQrCode)

Introduction
------------

[](#introduction)

BaconQrCode is a port of QR code portion of the ZXing library. It currently only features the encoder part, but could later receive the decoder part as well.

As the Reed Solomon codec implementation of the ZXing library performs quite slow in PHP, it was exchanged with the implementation by Phil Karn.

Example usage
-------------

[](#example-usage)

```
$renderer = new \BaconQrCode\Renderer\Image\Png();
$renderer->setHeight(256);
$renderer->setWidth(256);
$writer = new \BaconQrCode\Writer($renderer);
$writer->writeFile('Hello World!', 'qrcode.png');
```

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

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

1343d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/5c5f0c9efa79ffff1744a4e9ae3d4ac79be7be4a153d5a58230a0233af13c2e0?d=identicon)[qfsx](/maintainers/qfsx)

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[aluguest/ical-easy-reader

An easy to understood class, loads a "ics" format string and returns an array with the traditional iCal fields.

122.8k](/packages/aluguest-ical-easy-reader)

PHPackages © 2026

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