gggeek/barcodepack
最新稳定版本:1.0.2
Composer 安装命令:
composer require gggeek/barcodepack
包简介
BarcodePack is PHP library which allows you to generate the most common types of barcodes
关键字:
README 文档
README
Code originally from Tomáš Horáček, at https://sourceforge.net/projects/barcodepack/
Introduction
BarcodePack is PHP library which allows you to generate the most common types of barcodes.
BarcodePack support the following types of barcodes:
- QR Code
- EAN
- UPC
- Code 128
- Interleaved Code 2 of 5
- Standard Code 2 of 5
Requirements
The php GD extension
Installation
Use Composer to install this library
Usage
Example:
<?php // Include the QR Code classes via Composer include 'vendor/autoload.php'; // Make new instance of QR Code class $qr = new \BarcodePack\qrCode('Hello World!', 5); // We will outputting a PNG image header('Content-type: image/png'); // Call draw method and output image imagepng($qr->draw());
License
Creative Commons Attribution-NoDerivs 3.0 Unported License - see https://creativecommons.org/licenses/by-nd/3.0/
统计信息
- 总下载量: 5
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: CC-BY-3.0
- 更新时间: 2025-08-05