algoyounes/qr-forge

PHP Package to generate QR Codes

v1.0.2 2024-09-03 17:25 UTC

This package is not auto-updated.

Last update: 2024-11-13 16:34:45 UTC


README

QR Forge
QR Forge

Build Status Total Downloads Latest Stable Version License

A PHP package that allows you to generate QR codes with ease.

Installation

You can install the package globally via composer:

composer require algoyounes/qr-forge

Usage

Generate Base64

use AlgoYounes\QRForge\Facades\QRForge;

$base64 = QRForge::fromArray([ Tag::create(1, 'test') ])->base64();

Generate Plain

use AlgoYounes\QRForge\Facades\QRForge;

$plain = QRForge::fromArray([ Tag::create(1, 'test') ])->plain();

Render A QR Code Image

use AlgoYounes\QRForge\Facades\QRForge;

QRForge::fromArray([ Tag::create(1, 'test') ])->render();