定制 nextbox/neos-qrcode 二次开发

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

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

nextbox/neos-qrcode

Composer 安装命令:

composer require nextbox/neos-qrcode

包简介

NextBox Neos Qr-Code generator

README 文档

README

This package creates QR-Codes for shortened urls in Neos. Note this package requires nextbox/neos-qrcode.

If the shortened url was changed then the persisted QrCode will be regenerated immediately, the old image will be deleted.

Configuration

Follow the steps in the ReadMe of the package nextbox/neos-qrcode to create your own definition for short url redirections.

Routing

Create a new Routes.yaml with the name of the type that should be used:

# Configuration/Routes.yaml

-
  name: 'Create QR-Code for default'
  uriPattern: 'qr-code/{shortIdentifier}' # replace `qr-code` with your preferences
  defaults:
    '@package': 'NextBox.Neos.QrCode'
    '@controller': 'QrCode'
    '@action': 'generateQrCode'
    'shortType': 'default' # change this to the name of the type from the settings
  appendExceedingArguments: true
  httpMethods: ['GET']

Disable Image Generation from the Backend

If you want to disable the image generation from the backend disable the following settings. After a Node was published the resource will be deleted.

# Settings.yaml

NextBox:
  Neos:
    QrCode:
      backend:
        # Should QR-Codes be generated from the backend after a node publish?
        generateQrCodesFromBackend: false

Extensibility

Follow the steps in the ReadMe of the package nextbox/neos-qrcode to create your own definition for short url redirections.

The QrCode-Controller uses the identifier and the type to get the shortened url.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: GPL-3.0-only
  • 更新时间: 2023-04-07

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固