Organize scattered PHP files into scripts/ and tests/ directories

This commit is contained in:
2025-11-12 08:34:20 +01:00
parent 0622f40004
commit 8f072292c1
28 changed files with 10 additions and 10 deletions

9
tests/test_qr.php Executable file
View File

@@ -0,0 +1,9 @@
<?php$
require '../vendor/autoload.php';$
use chillerlan\QRCode\QRCode;$
use chillerlan\QRCode\QROptions;$
= new QROptions(['outputType' => QRCode::OUTPUT_MARKUP_SVG, 'eccLevel' => QRCode::ECC_L]);$
= new QRCode();$
= ->render('test');$
file_put_contents('public/uploads/qr/test.svg', );$
echo 'QR created';$