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

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

duna/qrcode
===========

QR code generator for Duna

050HTML

Since Sep 18Pushed 1y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

Duna QR Code Library
====================

[](#duna-qr-code-library)

A versatile QR code generation library that supports HTML, PNG, and SVG output formats.

[![GitHub repo stars](https://camo.githubusercontent.com/4a0e7313e90e382b12931def7c58b0d86fc89513ab8375af9dfe4c5e60aa4d19/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f64617669647367616c6c616e2f64617669647367616c6c616e2e7376673f7374796c653d736f6369616c)](https://github.com/davidsgallan/davidsgallan)

Overview
--------

[](#overview)

The Duna QR Code Library is a QR code generation tool originally based on the `QrCode` library bundled with Duna until v8.0, developed by Laurent Minguet. It is distributed under the LGPL license, providing a flexible and open-source solution for QR code generation.

Installation
------------

[](#installation)

To install the library, use Composer:

```
$ composer require duna/qrcode

```

Usage
-----

[](#usage)

Here's a quick guide to using the Duna QR Code Library:

### Generating QR Codes

[](#generating-qr-codes)

First, include the necessary classes and create a QR code instance:

```
