Skip to content

Latest commit

 

History

History
60 lines (44 loc) · 2.12 KB

README.md

File metadata and controls

60 lines (44 loc) · 2.12 KB

BarcodeValidator

GitHub license GitHub release Total Downloads GitHub issues GitHub stars

A PHP class for validating EAN, IMEI, ISBN, GTIN, SSCC, GSIN, UPC and other similar codes.

Developed by Ivan Melgrati

Requirements

  • PHP >= 5.3.0

Installation

Composer

The recommended installation method is through Composer, a dependency manager for PHP. Just add imelgrat/barcode-validator to your project's composer.json file:

{
    "require": {
        "imelgrat/barcode-validator": "*"
    }
}

More details can be found over at Packagist.

Manually

  1. Copy src/BarcodeValidator.php to your codebase, perhaps to the vendor directory.
  2. Add the BarcodeValidator class to your autoloader or require the file directly.

Feedback

Please open an issue to request a feature or submit a bug report. Or even if you just want to provide some feedback, I'd love to hear. I'm also available on Twitter as @imelgrat.

Contributing

  1. Fork it.
  2. Create your feature branch (git checkout -b my-new-feature).
  3. Commit your changes (git commit -am 'Added some feature').
  4. Push to the branch (git push origin my-new-feature).
  5. Create a new Pull Request.