seven.io/bolt 问题修复 & 功能扩展

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

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

seven.io/bolt

最新稳定版本:1.1.0

Composer 安装命令:

composer require seven.io/bolt

包简介

Bolt extension for sending SMS and making text-to-speech calls via seven.io

README 文档

README

seven logo

seven SMS for BoltCMS

Send SMS and text-to-speech calls to your BoltCMS content types via the seven gateway.

MIT License Bolt 4 | 5 PHP 7.2+ Packagist

Features

  • Admin Widget - Send messages from the Bolt dashboard with a single click
  • SMS & Voice - Switch between text messages and text-to-speech voice calls
  • Field Placeholders - Reference any content-type field with {{fieldname}} in the message body
  • Configurable Mappings - Map each content type to its mobile-number field via YAML

Prerequisites

Installation

1. Install via Composer

composer require seven.io/bolt

2. Add a mobile-phone field to your content types

people:
  # ...
  mobile:
    type: text
    variant: inline
  # ...

3. Configure the extension

Open /bolt/file-edit/config?file=/extensions/seven-bolt.yaml (or Maintenance > Extensions > Configuration in the admin) and fill in:

Field Description
apiKey Your seven API key
mappings Map each content type to its mobile-number field, e.g. people: mobile

Usage

Send SMS

Pick a content type in the seven dashboard widget. Every record with a mobile-number field will receive the message.

Make text-to-speech calls

Use the same widget but switch the message type to Voice. The recipient will receive an automated call reading out the text.

Message placeholders

Any content-type field can be referenced inside the message body via {{fieldname}}:

Hi {{name}}, your order is on its way!

Make sure the value has a __toString() representation - there is no type-coercion magic.

Support

Need help? Feel free to contact us or open an issue.

License

MIT

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-06-08

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固