newridetech/ean13
最新稳定版本:1.0.1
Composer 安装命令:
composer require newridetech/ean13
包简介
README 文档
README
This package provides few functions that calculate EAN13 digits and checksum digit. It does not generate barcode images (and it will stay that way). You can use this package to generate barcode image using calculated value.
It uses https://github.com/ronanguilloux/IsoCodes to validate generated codes.
checkdigit function was taken from here: https://edmondscommerce.github.io/php/barcode/ean13-barcode-check-digit-with-php.html
I hope this package helps you.
generate code
use function Newride\EAN13\create; create('123'); // 0000000001236
generate check digit only
use function Newride\EAN13\checkdigit; checkdigit('123'); // 6
统计信息
- 总下载量: 9.01k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 5
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2018-02-17