简体   繁体   English

是否有用于在 LAMP 堆栈上生成矢量二维码的库?

[英]Is there a library for generating VECTOR QR Codes on a LAMP stack?

Are there any libraries;有没有图书馆; proprietary or Open Source (but preferably Open Source) that can generate vector QR codes on a LAMP stack?可以在 LAMP 堆栈上生成矢量二维码的专有或开源(但最好是开源)?

I would like to use it within a PHP web application.我想在 PHP Web 应用程序中使用它。

use the library http://phpqrcode.sourceforge.net/ which supports SVG. 使用支持SVG的库http://phpqrcode.sourceforge.net/

<?php 

include('../lib/full/qrlib.php'); 

// SVG file format support 

$svgCode = QRcode::svg('PHP QR Code :)'); 

echo $svgCode; 

Example http://phpqrcode.sourceforge.net/examples/example_201_basic_svg.php 范例http://phpqrcode.sourceforge.net/examples/example_201_basic_svg.php

The error above is correct, I'm getting the same error.上面的错误是正确的,我遇到了同样的错误。 It seems the SVG PHP file is missing from the download.下载中似乎缺少 SVG PHP 文件。

Tintu do you or anyone else have this file to send, or even the complete zip of the whole package? Tintu 你或其他任何人有这个文件要发送,甚至整个包的完整 zip 吗?

Thank you.谢谢你。 I'd appreciate it.我会很感激的。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM