samlittler/upc
Composer 安装命令:
composer require samlittler/upc
包简介
A checksum calculator for the UPC check digit method
README 文档
README
A PHP library for calculating UPC (Universal Product Code) checksum digits.
Installation
Download and install this library using composer:
composer require samlittler/upc
Alternatively, download this repository as a ZIP and include the src/UPC.php file in your project.
Usage
Usage is simple
$your_product_code = '03600024145';
$checksum = \SamLittler\UPC\UPC::calculate($your_product_code); // returns 7
统计信息
- 总下载量: 11.04k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2017-10-31