PHPackages                             newridetech/ean13 - 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. newridetech/ean13

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

newridetech/ean13
=================

1.0.1(8y ago)58.9k↓33.3%4PHP

Since Feb 17Pushed 8y ago2 watchersCompare

[ Source](https://github.com/newridetech/ean13)[ Packagist](https://packagist.org/packages/newridetech/ean13)[ RSS](/packages/newridetech-ean13/feed)WikiDiscussions master Synced 1mo ago

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

ean13
=====

[](#ean13)

This package provides few functions that calculate EAN13 digits and checksum digit. It does not generate barcode images (and it will stay that way). You can use this package to generate barcode image using calculated value.

It uses  to validate generated codes. `checkdigit` function was taken from here:

I hope this package helps you.

generate code
-------------

[](#generate-code)

```
use function Newride\EAN13\create;

create('123'); // 0000000001236
```

generate check digit only
-------------------------

[](#generate-check-digit-only)

```
use function Newride\EAN13\checkdigit;

checkdigit('123'); // 6
```

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity30

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity64

Established project with proven stability

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 ~0 days

Total

2

Last Release

3009d ago

### Community

Maintainers

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

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/newridetech-ean13/health.svg)

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

###  Alternatives

[hotmeteor/regex

A Regex library for Laravel.

24450.8k](/packages/hotmeteor-regex)[hiqdev/yii2-thememanager

Pluggable themes for Yii2

2833.6k9](/packages/hiqdev-yii2-thememanager)[frictionlessdata/datapackage

A utility library for working with Data Packages

102.6k1](/packages/frictionlessdata-datapackage)

PHPackages © 2026

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