https://github.com/dereuromark/cakephp-qrcode
QR Code Plugin for CakePHP
https://github.com/dereuromark/cakephp-qrcode
Last synced: about 2 months ago
JSON representation
QR Code Plugin for CakePHP
- Host: GitHub
- URL: https://github.com/dereuromark/cakephp-qrcode
- Owner: dereuromark
- License: mit
- Created: 2024-04-11T02:56:41.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2024-04-16T11:22:53.000Z (about 1 year ago)
- Last Synced: 2024-05-01T23:03:46.721Z (about 1 year ago)
- Language: PHP
- Size: 35.2 KB
- Stars: 4
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-cakephp - QrCodePlugin - Easily render SVG/PNG QR Codes for your app. (Imagery)
README
# CakePHP QrCode Plugin
[](https://github.com/dereuromark/cakephp-qrcode/actions?query=workflow%3ACI+branch%3Amaster)
[](https://app.codecov.io/github/dereuromark/cakephp-qrcode/tree/master)
[](https://phpstan.org/)
[](https://packagist.org/packages/dereuromark/cakephp-qrcode)
[](https://php.net/)
[](https://packagist.org/packages/dereuromark/cakephp-qrcode)
[](https://packagist.org/packages/dereuromark/cakephp-qrcode)QrCode plugin for CakePHP applications.
This branch is for use with **CakePHP 5.0+**. For details see [version map](https://github.com/dereuromark/cakephp-qrcode/wiki#cakephp-version-map).
## Motivation
Wraps [chillerlan/php-qrcode/](https://github.com/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](docs/README.md)** for details.## Demo
See https://sandbox.dereuromark.de/sandbox/qr-code-examples