PHPackages                             maxwellmezadre/code-reader - 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. maxwellmezadre/code-reader

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

maxwellmezadre/code-reader
==========================

A PHP package that provides an interface to the zbar bar-code reading library.

v1.0.0(1y ago)07MITPHPPHP ^7.2|^8.0CI passing

Since Jun 27Pushed 1y agoCompare

[ Source](https://github.com/maxwellmezadre/code-reader)[ Packagist](https://packagist.org/packages/maxwellmezadre/code-reader)[ Docs](https://github.com/maxwellmezadre/code-reader)[ RSS](/packages/maxwellmezadre-code-reader/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (2)Versions (2)Used By (0)

Code Reader
===========

[](#code-reader)

A PHP package that provides an interface to the zbar bar-code reading library.

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require maxwellmezadre/code-reader
```

Usage
-----

[](#usage)

This package can be used in two ways: through the `CodeReaderFacade` for a simple, static interface, or by instantiating the `CodeReader` class directly for more control.

### Using the Facade (Recommended)

[](#using-the-facade-recommended)

The facade provides a quick and easy way to access the library's features.

```
use MaxwellMezadre\CodeReader\CodeReaderFacade as CodeReader;

// Read all code values from an image
$codes = CodeReader::read('/path/to/your/image.png');

// Read all code types
$types = CodeReader::getTypes('/path/to/your/image.png');

// Get detailed information (value and type) for all codes
$details = CodeReader::getDetails('/path/to/your/image.png');
```

### Using the Class Instance

[](#using-the-class-instance)

For more advanced use cases, you can instantiate the `CodeReader` class directly.

```
use MaxwellMezadre\CodeReader\CodeReader;

$reader = new CodeReader('/path/to/your/image.png');

// Get all code values
$codes = $reader->codes();

// Get all code types
$types = $reader->types();

// Get detailed information
$details = $reader->details(); // Returns a Code object or an array of Code objects.
```

Testing
-------

[](#testing)

```
composer test
```

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance49

Moderate activity, may be stable

Popularity4

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity42

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

370d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7153973faa02f3498d630174c83dd059e4dc6569fec4a4091c882521f9b9b712?d=identicon)[maxwellmezadre](/maintainers/maxwellmezadre)

---

Top Contributors

[![maxwellmezadre](https://avatars.githubusercontent.com/u/48128865?v=4)](https://github.com/maxwellmezadre "maxwellmezadre (1 commits)")

---

Tags

qr codebar-codecode-reader

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/maxwellmezadre-code-reader/health.svg)

```
[![Health](https://phpackages.com/badges/maxwellmezadre-code-reader/health.svg)](https://phpackages.com/packages/maxwellmezadre-code-reader)
```

###  Alternatives

[friendsofphp/php-cs-fixer

A tool to automatically fix PHP code style

13.5k251.2M25.1k](/packages/friendsofphp-php-cs-fixer)[matomo/matomo

Matomo is the leading Free/Libre open analytics platform

21.7k38.9k](/packages/matomo-matomo)[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

751291.4k43](/packages/civicrm-civicrm-core)[spatie/laravel-export

Create a static site bundle from a Laravel app

674146.0k6](/packages/spatie-laravel-export)[phpactor/phpactor

PHP refactoring and intellisense tool for text editors

1.9k17.1k1](/packages/phpactor-phpactor)[illuminate/process

The Illuminate Process package.

44869.2k99](/packages/illuminate-process)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
