superrb/kunstmaan-addons

为 Kunstmaan Bundles 选择的插件

5.0.1 2024-06-06 10:59 UTC

README

为 Kunstmaan Bundles 选择的插件

安装

步骤 1: 安装包

composer require superrb/kunstmaan-addons

将以下内容添加到 config/bundles.php

Superrb\KunstmaanAddonsBundle\SuperrbKunstmaanAddonsBundle::class => ['all' => true],
Superrb\GoogleRecaptchaBundle\SuperrbGoogleRecaptchaBundle::class => ['all' => true] // If you plan to use Google Recaptcha

步骤 2: 添加环境变量

如果使用 turbolinks,请将以下内容添加到 .env

###> superrb/kunstmaan-addons ###
TURBOLINKS_ENABLED=true
###< superrb/kunstmaan-addons ###

新增功能

  • 为 Kuma 管理区域添加版本检查,以便用户可以看到已安装的包。
  • 安装 misd/phone-number-bundle (https://packagist.org.cn/packages/misd/phone-number-bundle),以便在 Kuma 网站上使用电话号码字段和验证。
  • 为 Kernel Response 事件添加订阅者,设置正确的头信息,允许 Turbolinks 跟随重定向。
  • 为 liip_imagine 添加 'placeholder_image' 过滤器,生成用于在布局中预留空间的小型完全透明图像。

问题和故障排除

所有问题: tech@superrb.com