Download the PHP package rebuy/ean-isbn-library without Composer
On this page you can find all versions of the php package rebuy/ean-isbn-library. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download rebuy/ean-isbn-library
More information about rebuy/ean-isbn-library
Files in rebuy/ean-isbn-library
Package ean-isbn-library
Short Description A PHP library for EAN and ISBN validation and conversion
License MIT
Homepage https://github.com/rebuy-de/ean-isbn-library
Informations about the package ean-isbn-library
reBuy EAN / ISBN Library
A PHP library for validating and converting EAN and ISBN identifiers licensed under the MIT license.
Installation
To use the library you need PHP 7.1 and Composer.
Add the following entry to your composer.json
.
Usage
The core of the library are identifier objects representing valid EAN-13, EAN-8, or ISBN-10 identifiers. Identifier objects can be created using a parser which validates and normalizes the identifier string.
Once you have an identifier object, you can convert it into an alternate representation if available.
Both parsers and converters will throw exceptions if the action can’t be performed. Go to docs for a full API reference.
Troubleshooting
- If you come across errors or bugs please feel free to report them by opening an issue here but please check open issues before you do in case someone already created one.
Contributing
Feel free to open an issue if you find bugs or if you're missing functionality that should be included.
Pull requests for additional features are welcome as long as they fit the requirements detailed under CONTRIBUTING.