klipeld/text_to_barcode 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

klipeld/text_to_barcode

Composer 安装命令:

composer require klipeld/text_to_barcode

包简介

Package for converting text to barcode

README 文档

README

Generate your code128 from text

Installation

Install the package via composer: composer require klipeld/text_to_barcode

Compatibility

Name Min version
php 7.4

How to use - Simple example

echo"
<style>
@font-face {
  font-family: myFirstFont;
  src: url(code128.ttf);
}
</style>
<div style='color: black; font-family: myFirstFont;font-size: 70px'>".Code128ToBarcode::codeIt("Hello world :)")."</div>";

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 (!"#$%^&()-=|/:;,'."~+-_{}[]:).

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:

https://php-developer-polska.pl/en/barcode/code128

统计信息

  • 总下载量: 18
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 3
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 3
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-01-27

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固