PHPackages                             sinri/ark-qr-builder - 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. sinri/ark-qr-builder

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

sinri/ark-qr-builder
====================

The QR Builder components of Ark 2

2.0(2y ago)086MITPHP

Since Sep 24Pushed 2y ago1 watchersCompare

[ Source](https://github.com/sinri/Ark-QRBuilder)[ Packagist](https://packagist.org/packages/sinri/ark-qr-builder)[ RSS](/packages/sinri-ark-qr-builder/feed)WikiDiscussions master Synced 2w ago

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

Ark-QRBuilder
=============

[](#ark-qrbuilder)

The QR builder components of Ark 2.

Usage
-----

[](#usage)

### 0x00. Create a QRCode Instance

[](#0x00-create-a-qrcode-instance)

To generate a QRCode Instance, you can use `\sinri\ark\qr\builder\ArkQRBuilder::makeQRInstance` or `\sinri\ark\qr\builder\ArkQRBuilder::quickMakeMinimumQRInstance`.

Full Parameters, and only 1st and 4th is required for quick maker.

- $data
- $mode default as QRCode::QR\_MODE\_AUTO\_DETECT,
- $type default as 4,
- $errorCorrectLevel default as QRCode::QR\_ERROR\_CORRECT\_LEVEL\_L

They might return an parameter, name it as `$qr`.

### 0x01. Get Matrix

[](#0x01-get-matrix)

`$qr->getQRMatrix();`

### 0x02. Get HTML `` block

[](#0x02-get-html-table-block)

`$qr->printHTML();`

### 0x03. Output as Image

[](#0x03-output-as-image)

```
// イメージ作成(引数:サイズ,マージン)
$im = $qr->createImage(2, 4);
header("Content-type: image/gif");
imagegif($im);
imagedestroy($im);
```

Basement
--------

[](#basement)

Based on [kazuhikoarase/qrcode-generator in PHP](https://github.com/kazuhikoarase/qrcode-generator), licensed under [MIT](http://www.opensource.org/licenses/mit-license.php).

```
//---------------------------------------------------------------
// QRCode for PHP5
//
// Copyright (c) 2009 Kazuhiko Arase
//
// URL: http://www.d-project.com/
//
// Licensed under the MIT license:
//   http://www.opensource.org/licenses/mit-license.php
//
// The word "QR Code" is registered trademark of
// DENSO WAVE INCORPORATED
//   http://www.denso-wave.com/qrcode/faqpatent-e.html
//
//---------------------------------------------------------------------

```

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity65

Established project with proven stability

 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 ~1028 days

Total

3

Last Release

780d ago

Major Versions

1.1 → 2.02024-05-11

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/5821330?v=4)[Everstray Jun Sinri Edogawa](/maintainers/sinri)[@sinri](https://github.com/sinri)

---

Top Contributors

[![sinri](https://avatars.githubusercontent.com/u/5821330?v=4)](https://github.com/sinri "sinri (3 commits)")

### Embed Badge

![Health badge](/badges/sinri-ark-qr-builder/health.svg)

```
[![Health](https://phpackages.com/badges/sinri-ark-qr-builder/health.svg)](https://phpackages.com/packages/sinri-ark-qr-builder)
```

###  Alternatives

[symfony/lock

Creates and manages locks, a mechanism to provide exclusive access to a shared resource

514135.1M628](/packages/symfony-lock)[matomo/matomo

Matomo is the leading Free/Libre open analytics platform

21.6k38.2k](/packages/matomo-matomo)[phpro/soap-client

A general purpose SoapClient library

8895.9M52](/packages/phpro-soap-client)[ecotone/ecotone

Enterprise architecture layer for Laravel and Symfony — CQRS, Event Sourcing, Durable Workflows (Sagas, Orchestrators), Projections, and Outbox messaging via PHP attributes.

562565.8k42](/packages/ecotone-ecotone)[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

751284.3k37](/packages/civicrm-civicrm-core)[illuminate/broadcasting

The Illuminate Broadcasting package.

7126.9M203](/packages/illuminate-broadcasting)

PHPackages © 2026

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