PHPackages                             kargirwar/barcoder - 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. kargirwar/barcoder

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

kargirwar/barcoder
==================

v1.2(7y ago)019MITPHPPHP ^7.0

Since Jun 3Pushed 7y agoCompare

[ Source](https://github.com/kargirwar/barcoder)[ Packagist](https://packagist.org/packages/kargirwar/barcoder)[ RSS](/packages/kargirwar-barcoder/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependenciesVersions (4)Used By (0)

A utility to create barcode representation of ASCII strings. At present only Code 128 is supported. The utility only returns encoded data in string. Actual rendering of the barcode is left to client. Examples of drawing the barcode to PDF are provided.

Dependencies
============

[](#dependencies)

php 7+

Installation
============

[](#installation)

composer require kargirwar/barcoder

Use
===

[](#use)

```
require("vendor/autoload.php");
use \Kargirwar\Barcoder\Barcoder;
print_r(Barcoder::encode(Barcoder::CODE_128_C, "1234"));
```

Licence MIT.

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity60

Established project with proven stability

 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

Every ~2 days

Total

3

Last Release

2897d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/e350945619efdcb5d0b1e65bf5bc19abb8ed4fb04e3679ff19625827affbf308?d=identicon)[kargirwar](/maintainers/kargirwar)

---

Top Contributors

[![sixeightkilo](https://avatars.githubusercontent.com/u/33156462?v=4)](https://github.com/sixeightkilo "sixeightkilo (19 commits)")

---

Tags

barcodeCODE 128

### Embed Badge

![Health badge](/badges/kargirwar-barcoder/health.svg)

```
[![Health](https://phpackages.com/badges/kargirwar-barcoder/health.svg)](https://phpackages.com/packages/kargirwar-barcoder)
```

###  Alternatives

[mike42/escpos-php

PHP receipt printer library for use with ESC/POS-compatible thermal and impact printers

2.7k1.9M22](/packages/mike42-escpos-php)[ayeo/gs1_barcode

Generate GS1-128 standard barcode

52112.1k](/packages/ayeo-gs1-barcode)[bitgrave/barcode-bundle

provide barcode rendering service into your Symfony2 application.

25444.0k1](/packages/bitgrave-barcode-bundle)[z38/metzli

PHP library to generate Aztec barcodes

26315.2k](/packages/z38-metzli)[barcode-bakery/barcode-1d

Generates 1D barcodes from a PHP server to a file or HTML document.

10146.1k1](/packages/barcode-bakery-barcode-1d)

PHPackages © 2026

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