PHPackages                             klipeld/text\_to\_barcode - 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. klipeld/text\_to\_barcode

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

klipeld/text\_to\_barcode
=========================

Package for converting text to barcode

318PHP

Since Dec 21Pushed 4mo ago1 watchersCompare

[ Source](https://github.com/KlipeLD/text_to_barcode)[ Packagist](https://packagist.org/packages/klipeld/text_to_barcode)[ RSS](/packages/klipeld-text-to-barcode/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

text\_to\_barcode
=================

[](#text_to_barcode)

Generate your code128 from text

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

[](#installation)

Install the package via composer: `composer require klipeld/text_to_barcode`

Compatibility
-------------

[](#compatibility)

NameMin versionphp7.4How to use - Simple example
---------------------------

[](#how-to-use---simple-example)

```
echo"

@font-face {
  font-family: myFirstFont;
  src: url(code128.ttf);
}

".Code128ToBarcode::codeIt("Hello world :)")."";
```

Which characters can be encoded in the barcode CODE-128?
--------------------------------------------------------

[](#which-characters-can-be-encoded-in-the-barcode-code-128)

Up to 70 characters can be encoded into the barcode CODE-128:

- large Latin letters (from A to Z);
- digits (from 0 to 9);
- some special characters (!"#$%^&amp;*()-=|/:;,'."~+-\_*{}\[\]:).

The character set allows you to put on the card not only a barcode with a number, for example 00001, but also cards with an identifier designation containing a letter prefix (for example, AC0001) or fully alphabetic values.

Demo-version of app based on this package:
------------------------------------------

[](#demo-version-of-app-based-on-this-package)

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance54

Moderate activity, may be stable

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity12

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/73565df5b1234171112ebf03c24ed64d919a5557df251bb000e9e208f4ba7ebd?d=identicon)[klipe\_ld](/maintainers/klipe_ld)

---

Top Contributors

[![KlipeLD](https://avatars.githubusercontent.com/u/13711466?v=4)](https://github.com/KlipeLD "KlipeLD (25 commits)")

### Embed Badge

![Health badge](/badges/klipeld-text-to-barcode/health.svg)

```
[![Health](https://phpackages.com/badges/klipeld-text-to-barcode/health.svg)](https://phpackages.com/packages/klipeld-text-to-barcode)
```

PHPackages © 2026

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