Download the PHP package samlittler/upc without Composer
On this page you can find all versions of the php package samlittler/upc. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download samlittler/upc
More information about samlittler/upc
Files in samlittler/upc
Download samlittler/upc
More information about samlittler/upc
Files in samlittler/upc
Vendor samlittler
Package upc
Short Description A checksum calculator for the UPC check digit method
License
Package upc
Short Description A checksum calculator for the UPC check digit method
License
Please rate this library. Is it a good library?
Informations about the package upc
UPC Checksum Calculator
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 7All versions of upc with dependencies
PHP Build Version
Package Version
Requires
php Version
^8
The package samlittler/upc contains the following files
Loading the files please wait ...