Download the PHP package chenbool/barcode without Composer
On this page you can find all versions of the php package chenbool/barcode. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download chenbool/barcode
More information about chenbool/barcode
Files in chenbool/barcode
Download chenbool/barcode
More information about chenbool/barcode
Files in chenbool/barcode
Vendor chenbool
Package barcode
Short Description 一个简单的条形码生成插件
License MIT
Homepage https://github.com/chenbool
Package barcode
Short Description 一个简单的条形码生成插件
License MIT
Homepage https://github.com/chenbool
Please rate this library. Is it a good library?
Informations about the package barcode
PHP 条形码生成器
PHP 开发的条形码生成库,支持 Code39 格式。
特性
- 简单易用
- 支持 Code39 条形码
- 纯 PHP 实现,无需扩展
- 兼容 PHP 5.3+
项目结构
安装
使用 Composer
手动安装
使用方法
基本使用
设置尺寸
API 说明
Barcode::code39()
生成 Code39 格式的条形码。
| 参数 | 类型 | 默认值 | 说明 |
|---|---|---|---|
$text |
string | 必填 | 要编码的文本 |
$height |
int | 50 | 条形码高度 |
$widthScale |
int | 1 | 宽度比例 |
返回值
直接输出图像到浏览器。
支持的字符
Code39 条形码支持以下字符:
- 数字:0-9
- 大写字母:A-Z
- 特殊字符:- . $ / + %
环境要求
- PHP >= 5.3.0
- GD 扩展(用于图像生成)
相关链接
All versions of barcode with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.3.0
The package chenbool/barcode contains the following files
Loading the files please wait ...