Download the PHP package imonroe/bookscanner without Composer
On this page you can find all versions of the php package imonroe/bookscanner. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download imonroe/bookscanner
More information about imonroe/bookscanner
Files in imonroe/bookscanner
Package bookscanner
Short Description Scan the barcode on a book, get back data on the book based on ISBN
License MIT
Homepage https://github.com/imonroe/bookscanner
Informations about the package bookscanner
bookscanner
Give Bookscanner a barcode or ISBN number, look it up via the OpenLibrary api (http://openlibrary.org/), and then return you a nice PHP array with relevant details.
Works with 10-digit or 13-digit ISBNs. It will happily take input from a text field that has been populated by a standard handheld barcode scanner. It will clean it up a little, validate the ISBN with its checksum, and then send a request to the excellent OpenLibrary API via cURL. It will parse the response, and it will return you a PHP array with all the available information.
For fields with more that one element, e.g., a book with several authors, the field will be returned as a comma-separated string.
Install
Via Composer
Usage
Change log
Please see CHANGELOG for more information on what has changed recently.
Testing
Contributing
Please see CONDUCT for details.
Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
Credits
- Ian Monroe
- All Contributors
License
The MIT License (MIT). Please see License File for more information.