Skip to content

QrWatermark is a versatile PHP library designed to generate high-quality QR codes with customizable watermarks.

License

Notifications You must be signed in to change notification settings

hlsxx/qrwatermark_php

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hlsxx QR Watermark

QR Code

A library to generate QR codes with watermarks.

Downloads

You can download the latest version of the PHP extension here:

Installation

You can install this library using Composer:

composer require hlsxx/qrwatermark
// Custom image config
$imageConfig = (new ImageConfigBuilder())
  // ->colorGradient([255, 255, 255], [0, 0, 0]) // Custom gradient
  ->color([72, 76, 137])
  ->isAutoGradientEnabled()
  ->build();

// Custom logo config
$logoConfig =  (new LogoConfigBuilder())
  ->width(70)
  ->height(70)
  ->build();

$qrw = (new QrWatermark("Hello from PHP custom"))
  ->logo("imgs/php_logo.png")
  ->logoConfig($logoConfig)
  ->imageConfig($imageConfig);

$qrw->saveAsImage("imgs/custom.png");

About

QrWatermark is a versatile PHP library designed to generate high-quality QR codes with customizable watermarks.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages