# php-zbarcode **Repository Path**: mlnt/php-zbarcode ## Basic Information - **Project Name**: php-zbarcode - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2022-07-15 - **Last Updated**: 2022-07-15 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README Simple extension to read barcodes from images [![Build Status](https://travis-ci.org/mkoppanen/php-zbarcode.svg?branch=master)](https://travis-ci.org/mkoppanen/php-zbarcode) ## Upgrade at 2018-12-05 Support PHP7, And fix some bug that may cause crash. ## Basic usage: scan($image); /* Loop through possible barcodes */ if (!empty($barcode)) { foreach ($barcode as $code) { printf("Found type %s barcode with data %s\n", $code['type'], $code['data']); } } ?> The EAN13 image in the tests/ directory is from http://en.wikipedia.org/wiki/File:Ean-13-5901234123457.png ## Dependencies: ZBar http://zbar.sourceforge.net/ ImageMagick http://www.imagemagick.org/