dereuromark/cakephp-qrcode

CakePHP QR Code Plugin

0.1.1 2024-04-15 17:37 UTC

This package is auto-updated.

Last update: 2024-04-16 11:22:57 UTC


README

CI Coverage Status PHPStan Latest Stable Version Minimum PHP Version License Total Downloads

QrCode plugin for CakePHP applications.

This branch is for use with CakePHP 5.0+. For details see version map.

Motivation

Wraps chillerlan/php-qrcode/ library to have an easy to use out-of-the-box interface for most common QR codes.

Features

Supports:

  • base64encoded (default)
  • svg/png as controller action generated on-the-fly image

Install/Setup

Installing the Plugin is pretty much as with every other CakePHP Plugin.

Install using Packagist/Composer:

composer require dereuromark/cakephp-qrcode

The following command can enable the plugin:

bin/cake plugin load QrCode

or manually add it to your Application class.

Usage

See the Docs for details.

Demo

See https://sandbox.dereuromark.de/sandbox/qr-code-examples