PHPackages                             catzilla/zbar-wrapper - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. catzilla/zbar-wrapper

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

catzilla/zbar-wrapper
=====================

PHP wrapper for ZBar library

v0.1.1(7y ago)46.3k—0%1MITPHPPHP &gt;=7.2.0

Since Feb 17Pushed 7y ago2 watchersCompare

[ Source](https://github.com/Catzilla/zbar-wrapper)[ Packagist](https://packagist.org/packages/catzilla/zbar-wrapper)[ RSS](/packages/catzilla-zbar-wrapper/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (2)Dependencies (1)Versions (3)Used By (0)

zbar-wrapper
============

[](#zbar-wrapper)

[![GitHub license](https://camo.githubusercontent.com/0a5692c4f2924c14649d904d39f6bd8f38ae28d2ad12821214545daf52b15c9a/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f4361747a696c6c612f7a6261722d777261707065722e737667)](https://github.com/Catzilla/zbar-wrapper/blob/master/LICENSE)

PHP wrapper for ZBar library. Allows you to scan barcodes from your PHP project.

Requirements
------------

[](#requirements)

- PHP 7.2.0 or newer
- [ZBar](http://zbar.sourceforge.net) must be installed in your system
- [Program execution Functions](https://secure.php.net/manual/en/ref.exec.php) must be allowed in your PHP configuration
- [`allow_url_fopen`](https://secure.php.net/manual/ru/filesystem.configuration.php#ini.allow-url-fopen) must be set to `On` if you want to decode barcodes from remote sources

Installing
----------

[](#installing)

You can install this package via Composer:

```
composer require catzilla/zbar-wrapper

```

Usage
-----

[](#usage)

Very basic example:

```
