hermesmartins / php-ean13-validator
This package has the function to validate an EAN with 13 numbers.
Installs: 7 024
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 1
Forks: 1
Open Issues: 0
pkg:composer/hermesmartins/php-ean13-validator
Requires
- php: >=5.4.0
Requires (Dev)
- phpunit/phpunit: ~4.0
This package is not auto-updated.
Last update: 2025-10-12 10:18:19 UTC
README
EAN13 Validator is a PHP library for dealing with EAN13 validations in brazilian's marketplaces.
Installation
Requirements
- PHP 5.4.0 and up
Install
Use composer to:
require hermesmartins/php-ean13-validator
Usage
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.
Contributing
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.