kozyaxbiz/php-qrcoder
最新稳定版本:v1.0.1
Composer 安装命令:
composer require kozyaxbiz/php-qrcoder
包简介
A PHP library for generating QR codes and posters with Uyghur language support
README 文档
README
## ئۇيغۇرچە تونۇشتۇرۇش بۇ PHP دا يېزىلغان QR كود ۋە پوستېر ياساش كۇتۇپخانىسى. بۇ كۇتۇپخانا ئۇيغۇر تىلىنى ئالاھىدە قوللايدۇ ۋە ئۇيغۇرچە تېكىست بىلەن QR كود ۋە پوستېر ياساشقا ئىمكان بېرىدۇ. ### ئالاھىدىلىكلىرى - QR كود ياساش - پوستېر ياساش - ئۇيغۇر تىلىنى قوللاش - كۆپ خىل فونت قوللاش - سۈرەت ئىشلەش ئىقتىدارى ### ئورنىتىش ```bash composer require kozyaxbiz/kozyax-qrcoder ``` ### ئىشلىتىش مىسالى ```php use KozyaxQrcode\QRcode; use KozyaxQrcode\Uyghur; use KozyaxQrcode\Poster; // QR كود ياساش QRcode::png('سالام ياخشىمۇ', 'qrcode.png'); // ئۇيغۇر تېكىستىنى ئۆزگەرتىش $uyghur = new Uyghur(); $processedText = $uyghur->getUyPFStr('سالام ياخشىمۇ'); // پوستېر ياساش $config = [ 'bg_url' => 'background.jpg', 'text2' => [ [ 'text' => $processedText, 'left' => 100, 'top' => 200, 'fontSize' => 50, 'fontColor' => '255,255,255' ] ] ]; Poster::setConfig($config); Poster::make('poster.png'); ```English Introduction
A PHP library for generating QR codes and posters with special support for the Uyghur language. This library provides tools to create QR codes and posters with Uyghur text processing capabilities.
Features
- QR Code generation
- Poster creation
- Uyghur language support
- Multiple font support
- Image processing capabilities
Installation
composer require kozyax/kozyax-qrcode
Usage Example
use KozyaxQrcode\QRcode;
use KozyaxQrcode\Uyghur;
use KozyaxQrcode\Poster;
// Generate QR Code
QRcode::png('Hello World', 'qrcode.png');
// Process Uyghur text
$uyghur = new Uyghur();
$processedText = $uyghur->getUyPFStr('سالام ياخشىمۇ');
// Create poster
$config = [
'bg_url' => 'background.jpg',
'text2' => [
[
'text' => $processedText,
'left' => 100,
'top' => 200,
'fontSize' => 50,
'fontColor' => '255,255,255'
]
]
];
Poster::setConfig($config);
Poster::make('poster.png');
Requirements
- PHP >= 7.0
- GD Extension
License
This project is licensed under the LGPL-3.0 License.
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
Classes
QRcode
Main class for generating QR codes with various customization options.
Uyghur
Handles Uyghur text processing and font rendering for proper display.
Poster
Creates posters with text and image elements, supporting multiple text layers and fonts.
Fonts
The library includes several Uyghur fonts:
- UKIJMoyQB.ttf
- Nurjanbay TalTal Tom2.0.TTF
- LATINWD.TTF
- iqbal bulaq.ttf
- Uyghur Microsoft Uighur.ttf
kozyaxbiz/php-qrcoder 适用场景与选型建议
kozyaxbiz/php-qrcoder 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 1 次下载、GitHub Stars 达 0, 最近一次更新时间为 2025 年 09 月 10 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「php」 「image」 「qrcode」 「poster」 「uyghur」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 kozyaxbiz/php-qrcoder 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 kozyaxbiz/php-qrcoder 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 kozyaxbiz/php-qrcoder 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Based in http://phpqrcode.sourceforge.net/
Symfony 4, 5, 6 ,7 Barcode Generator Bundle with Twig function extension
Yii2 LightBox image galary widget uses Lightbox v2.10.0 by Lokesh Dhakar
The Yii2 extension uses jQuery jquery.carousel-1.1.min.js and makes image carousel from php array of structure defined.
Generates QR Codes
The Yii2 extension uses jQuery PrettyPhoto and OwlCarousel js and makes image galary from php array of structure defined.
统计信息
- 总下载量: 1
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 31
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: LGPL-3.0-or-later
- 更新时间: 2025-09-10