PHPackages                             russianpost/datamatrixbase256 - 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. russianpost/datamatrixbase256

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

russianpost/datamatrixbase256
=============================

Russian Post form generate datamatrix Base256 barcode. Based on tcpdf library

07802PHP

Since Aug 17Pushed 11y ago1 watchersCompare

[ Source](https://github.com/tol17/datamatrixbase256)[ Packagist](https://packagist.org/packages/russianpost/datamatrixbase256)[ RSS](/packages/russianpost-datamatrixbase256/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependenciesVersions (1)Used By (0)

datamatrixbase256
=================

[](#datamatrixbase256)

Form for Russian Post Office mail transfer with datamatrix Base256 stamp

Формирование почтового бланка Почты России с штампом проверки в формате Datamatrix. Основан на библиотеке tcpdf. Формат кодирования Base256.

Для кодирования в формате Base256 определены два дочерних класса расширяющих стандартные классы библиотеки tcpdf:

1. file: datamatrixbase256/tcpdf\_datamatrix\_base256.php, class TCPDF2DDatamatrixBarcode extends TCPDF2DBarcode создает объект DatamatrixBase256
2. file: datamatrixbase256/datamatrixbase256, class DatamatrixBase256 extends Datamatrix Переопределена функция getHighLevelEncoding($data) для принудительного кодирования в формате Base256.

File: postform, class: PostForm - валидация данных, сохранение данных для повторного редактирования формирование строки данных для Datamatrix штампа.

File: datamatrix.php, class: DatamatrixImage - создание Datamarix кода, создание png картинки.

File: postblank.php - почтовый бланк с datamatrix кодом.

Example for paste datamatrix in TCPDF doc
=========================================

[](#example-for-paste-datamatrix-in-tcpdf-doc)

Если бланк наложенного платежа генерируется в формате pdf с помощью tcpdf

$pdf - inctance of Tcpdf object

$png = (new TCPDF2DDatamatrixBarcode($dataMatrixValue))-&gt;getBarcodePngData(40, 40);

$pdf-&gt;Image('@' . $png, 130, 3, 40, 40, 'PNG', '', 'T', true, 300);

###  Health Score

23

—

LowBetter than 25% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 70% 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/f83e226d7d49c49c3c7fbb7348c2a8fdbe9a49f3ce4622fbe13a40e1045b9584?d=identicon)[berejant](/maintainers/berejant)

---

Top Contributors

[![berejant](https://avatars.githubusercontent.com/u/6256227?v=4)](https://github.com/berejant "berejant (7 commits)")[![tol17](https://avatars.githubusercontent.com/u/6351270?v=4)](https://github.com/tol17 "tol17 (3 commits)")

### Embed Badge

![Health badge](/badges/russianpost-datamatrixbase256/health.svg)

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

###  Alternatives

[szeidler/composer-patches-cli

28263.9k4](/packages/szeidler-composer-patches-cli)[wa72/html-pretty-min

HTML minifier and indenter that works on the DOM tree

22234.6k8](/packages/wa72-html-pretty-min)[apen/additional_reports

Useful information in the reports module : xclass, ajax, cliKeys, eID, general status of the system (encoding, DB, php vars...), hooks, compare local and TER extension (diff), used content type, used plugins, ExtDirect... It can really help you during migration or new existing project (to have a global reports of the system).

13170.7k](/packages/apen-additional-reports)[antistatique/swisstopo

Convert GPS (WGS84) to Swiss (LV03 and LV95) coordinates (and vice versa)

1481.8k](/packages/antistatique-swisstopo)[sypets/brofix

Broken Link Fixer for TYPO3 (forked from TYPO3 linkvalidator)

1172.6k1](/packages/sypets-brofix)

PHPackages © 2026

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