This repository was archived by the owner on Apr 18, 2025. It is now read-only.
forked from embark-systems/pecl-qrencode
-
Notifications
You must be signed in to change notification settings - Fork 0
pixnet/pecl-qrencode
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
php qrencode is the wrapper of libqrencode to generate qr code.
only 2 function to generate qr code.
<code>
$qr = qr_encode('test for qrcode');
if (is_resource($qr))
qr_save($qr, '1.png');
</code>
or you can output direct to stdout.
<code>
$qr = qr_encode('test for qrcode');
if (is_resource($qr)) {
header("Content-type: image/PNG");
qr_save($qr);
}
</code>
resource = qr_encode(string $text, [int $version, int $mode, int $casesensitive]);
bool = qr_save(resource $qr, string $filename);
bool = qr_save(resource $qr, string $filename, int size, int margin);
bool = qr_save(resource $qr, int size, int margin, string $filename);
bool = qr_save(resource $qr, int size, int margin);
About
php ext for libqrencode
Resources
Stars
Watchers
Forks
Packages 0
No packages published
Languages
- C 79.6%
- PHP 11.3%
- M4 7.1%
- Perl 2.0%