EAN13 Validator is a PHP library for dealing with EAN13 validations in brazilian's marketplaces.
- PHP 5.4.0 and up
Use composer to:
require hermesmartins/php-ean13-validator
You can simple import the library using "use HermesMartins\EAN13\EAN13Validator".
Use the function isAValidEAN13({ean}) to get a boolean if it is a valid or invalid EAN.
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.