# picqer/php-barcode-generator

Barcode generator in PHP that is easy to use, non-bloated and framework independent.

Repository: https://github.com/picqer/php-barcode-generator
Canonical: https://ross.abutalabs.com/products/php-barcode-generator
Language: PHP
License: LGPL-3.0
License Family: copyleft
Topics: barcode-generator, php, barcode, upc, msi, gs1-128, code128, ean13, code39, code93
Last push: 2026-08-22T09:57:56+00:00

## Health v2 (maintenance only)
Score: 95/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 99, release rhythm 87, longevity 100
- inputs: {"age_days": 4038, "days_push": 11, "days_rel": 11, "gap_med": 52.0, "n_releases_24m": 9}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1805, forks 404 (observed 2026-08-28T04:05:39.011510+00:00)

## What it is
A lightweight, framework-independent PHP library that generates 1D barcodes (Code 128, EAN-13, UPC, Code 39, etc.) as SVG, PNG, JPG, or HTML output. It has zero composer dependencies and only supports 1D barcode standards, not 2D codes like QR.

## Use cases
- generate barcode images in php
- create ean13 barcode png for product labels
- render code128 barcode as svg in a web page
- generate upc barcodes without framework dependencies
- add barcode generation to an invoice or shipping label system
- output barcode as html for browser display

## When to choose
- you need 1D barcodes (Code 128, EAN, UPC, Code 39, etc.) in a PHP project
- you want a dependency-free, lightweight library
- you need SVG or HTML output with no system requirements, or PNG/JPG via GD/Imagick

## When to avoid
- you need 2D barcodes like QR codes
- you need text rendered below the barcode bars
- you are not working in PHP

## Facets
- artifact type: library
- maturity: stable
- function: image-processing, sdk
- domain: web-development, developer-tools
- platform: php
- tags: barcode, barcode-generator, code128, ean13, upc, svg, png, framework-independent

## Member repositories
- picqer/php-barcode-generator (main) score 95

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:39.011510+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:21:34.324815+00:00, confidence not recorded.
  - readme: https://github.com/picqer/php-barcode-generator (fetched 2026-08-28T04:05:39.011510+00:00, sha f1e0cc8f0be8)
- Data as of 2026-08-30T08:39:29.467469+00:00.
