定制 maddlen/trig 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

maddlen/trig

最新稳定版本:1.0.1

Composer 安装命令:

composer require maddlen/trig

包简介

Statamic addon that adds a barcode scanner fieldtype to Statamic CP

README 文档

README

Trig is a Statamic addon that adds a barcode scanner fieldtype to Statamic CP.

Features

This addon:

  • Creates a new Statamic fieldtype named "Barcode Scanner"
  • With a trigger that opens a modal
  • Which embeds a barcode scanner
  • Using a WebAssembly build of the ZBar Bar Code Reader

Credits

How to Install

You can search for this addon in the Tools > Addons section of the Statamic control panel and click install, or run the following command from your project root:

composer require maddlen/trig

How to Use

Add the "Barcode Scanner" fieldtype to your blueprints, fieldsets, ... as you would with any other fieldtype.

Click on the revealer icon next to the text input to open the scanner and make sure to allow access to your camera.

Scan the barcode of an object. When a readable result is found, the field is populated with its value and the scanner is closed.

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: Vue

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-03-08