承接 gggeek/barcodepack 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: CC-BY-3.0
  • 更新时间: 2025-08-05