smiley 89cdd09044 :octocat: switch phan for phpstan (see #277) 1 rok temu
..
Readme.md 39b54c8568 :octocat: PLEASE READ! I AM TIRED TO ANSWER THE SAME QUESTION OVER AND OVER. 1 rok temu
SVGConvert.js 8cd9f27ed9 :shower: 2 lat temu
authenticator.php 00800ef901 :bath: clean-up (again) 2 lat temu
background.jpg 25918aa53c :sparkles: +ImageMagick with image background example 2 lat temu
custom_output.php 1a8e1ffd2b :octocat: mark nullable types explicitly (https://github.com/chillerlan/php-qrcode/issues/276) 1 rok temu
eps.php 39e3dfe83b :fire: v6.0 first pass: PHP 8.2, remove deprecated elements, add type hints 2 lat temu
fpdf.php 39e3dfe83b :fire: v6.0 first pass: PHP 8.2, remove deprecated elements, add type hints 2 lat temu
github.svg 40604f4698 :sparkles: SVG QR Code with logo example 3 lat temu
html.php 39e3dfe83b :fire: v6.0 first pass: PHP 8.2, remove deprecated elements, add type hints 2 lat temu
image.php 39e3dfe83b :fire: v6.0 first pass: PHP 8.2, remove deprecated elements, add type hints 2 lat temu
imageWithLogo.php 1a8e1ffd2b :octocat: mark nullable types explicitly (https://github.com/chillerlan/php-qrcode/issues/276) 1 rok temu
imageWithRoundedShapes.php 00800ef901 :bath: clean-up (again) 2 lat temu
imageWithText.php 1a8e1ffd2b :octocat: mark nullable types explicitly (https://github.com/chillerlan/php-qrcode/issues/276) 1 rok temu
imagick.php 39e3dfe83b :fire: v6.0 first pass: PHP 8.2, remove deprecated elements, add type hints 2 lat temu
imagickConvertSVGtoPNG.php 1a8e1ffd2b :octocat: mark nullable types explicitly (https://github.com/chillerlan/php-qrcode/issues/276) 1 rok temu
imagickImageAsBackground.php 89cdd09044 :octocat: switch phan for phpstan (see #277) 1 rok temu
imagickWithLogo.php 89cdd09044 :octocat: switch phan for phpstan (see #277) 1 rok temu
index.html 88341bccd5 :shower: move/fix interactive example 4 lat temu
intervention-image.php b231433d56 :sparkles: QRInterventionImage (intervention/image) 1 rok temu
multimode.php 00800ef901 :bath: clean-up (again) 2 lat temu
octocat.png 0907f93ccb :octocat: use original octocat from https://octodex.github.com/original/ 2 lat temu
qrcode-interactive.php 89cdd09044 :octocat: switch phan for phpstan (see #277) 1 rok temu
qrcode.style.xsl 1f73485224 :sparkles: XML output!? 1 rok temu
reader.php 28b6e2c418 :octocat: 2 lat temu
reflectance.php 00800ef901 :bath: clean-up (again) 2 lat temu
shapes.svg fcea69d90b :sparkles: example module shapes 3 lat temu
svg.php 39e3dfe83b :fire: v6.0 first pass: PHP 8.2, remove deprecated elements, add type hints 2 lat temu
svgConvertViaCanvas.php 00800ef901 :bath: clean-up (again) 2 lat temu
svgMeltedModules.php 89cdd09044 :octocat: switch phan for phpstan (see #277) 1 rok temu
svgRandomColoredDots.php 89cdd09044 :octocat: switch phan for phpstan (see #277) 1 rok temu
svgRoundQuietzone.php 89cdd09044 :octocat: switch phan for phpstan (see #277) 1 rok temu
svgWithLogo.php 89cdd09044 :octocat: switch phan for phpstan (see #277) 1 rok temu
svgWithLogoAndCustomShapes.php 89cdd09044 :octocat: switch phan for phpstan (see #277) 1 rok temu
text.php 39e3dfe83b :fire: v6.0 first pass: PHP 8.2, remove deprecated elements, add type hints 2 lat temu
xml.php 1f73485224 :sparkles: XML output!? 1 rok temu

Readme.md

php-qrcode examples

Important: Please use the examples from the branch that matches your installed php-qrcode version ( v4.x, v5.x, dev-main )!

Simple examples that demonstrate the different output types

Advanced output examples

Other examples

Please note that the examples are self-contained, meaning that all custom classes are defined in an example file, so they don't necessarily respect the PSR-4 one file = one class principle.