PHP Classes

File: README.md

Recommend this page to a friend!
  Classes of Ivan Melgrati   PHP Barcode Validator   README.md   Download  
File: README.md
Role: Documentation
Content type: text/markdown
Description: Documentation
Class: PHP Barcode Validator
Validate bar codes in several formats
Author: By
Last change: Renamed package

Renamed package to barcode-validator. This reflects more closely what
the package actually does. Updated Documentation and Example
Date: 3 years ago
Size: 2,169 bytes
 

Contents

Class file image Download

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/barcode-validator.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.