2017 © Pedro Peláez
 

library ean13

image

newridetech/ean13

  • Saturday, February 17, 2018
  • by mcharytoniuk
  • Repository
  • 1 Watchers
  • 0 Stars
  • 11 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 38 % Grown

The README.md

ean13

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., (*1)

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, (*2)

I hope this package helps you., (*3)

generate code

use function Newride\EAN13\create;

create('123'); // 0000000001236

generate check digit only

use function Newride\EAN13\checkdigit;

checkdigit('123'); // 6

The Versions

17/02 2018

dev-master

9999999-dev

  Sources   Download

The Development Requires

by Mateusz Charytoniuk

17/02 2018

1.0.1

1.0.1.0

  Sources   Download

The Development Requires

by Mateusz Charytoniuk

17/02 2018

1.0.0

1.0.0.0

  Sources   Download

The Development Requires

by Mateusz Charytoniuk