PHPackages                             seven.io/craft - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. seven.io/craft

ActiveCraft-plugin[Utility &amp; Helpers](/categories/utility)

seven.io/craft
==============

Send SMS and make text-to-speech calls via seven

v1.0.0(5y ago)11[1 issues](https://github.com/seven-io/craft/issues)[3 PRs](https://github.com/seven-io/craft/pulls)MITPHPCI passing

Since Apr 20Pushed 4d agoCompare

[ Source](https://github.com/seven-io/craft)[ Packagist](https://packagist.org/packages/seven.io/craft)[ RSS](/packages/sevenio-craft/feed)WikiDiscussions master Synced today

READMEChangelog (1)Dependencies (2)Versions (9)Used By (0)

 [![seven logo](https://camo.githubusercontent.com/b4669bbc8fd3ead5911fb6525c456c6d2cff4957f29012d27b677a4da0a5efee/68747470733a2f2f7777772e736576656e2e696f2f77702d636f6e74656e742f75706c6f6164732f4c6f676f2e737667)](https://camo.githubusercontent.com/b4669bbc8fd3ead5911fb6525c456c6d2cff4957f29012d27b677a4da0a5efee/68747470733a2f2f7777772e736576656e2e696f2f77702d636f6e74656e742f75706c6f6164732f4c6f676f2e737667)

seven SMS &amp; Voice for Craft CMS
===================================

[](#seven-sms--voice-for-craft-cms)

 Send SMS and text-to-speech messages from [Craft CMS](https://craftcms.com) and [Craft Commerce](https://craftcms.com/commerce) via the seven gateway.

 [![MIT License](https://camo.githubusercontent.com/e19d32ddd0fe35c406741f25b9b857f291780424f61b66afa7f884354256b8ea/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d7465616c2e737667)](LICENSE.md) [![Craft 3.1.5+](https://camo.githubusercontent.com/b2877894890758bb2814912c30b3386b6c00f77d797ae19e72c7a84b01c541f2/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f43726166742d332e312e352532422d6f72616e6765)](https://camo.githubusercontent.com/b2877894890758bb2814912c30b3386b6c00f77d797ae19e72c7a84b01c541f2/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f43726166742d332e312e352532422d6f72616e6765) [![PHP 7.2+](https://camo.githubusercontent.com/748f848c922bc2e62df0b57c97e1066d006e4a103cb801b27ed548b1deb5572a/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d372e322532422d707572706c65)](https://camo.githubusercontent.com/748f848c922bc2e62df0b57c97e1066d006e4a103cb801b27ed548b1deb5572a/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d372e322532422d707572706c65) [![Packagist](https://camo.githubusercontent.com/d8dc7d1043c874962c681b49e95cab6c1b88e020a02de297f2ba4ae1983739a3/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f736576656e2e696f2f6372616674)](https://packagist.org/packages/seven.io/craft)

---

Features
--------

[](#features)

- **SMS Messaging** - Send single messages via control panel or programmatically; bulk-send to Craft Commerce customers
- **Voice Messaging** - Place text-to-speech calls, with XML mode and JSON-response toggle
- **Craft Commerce Integration** - Bulk messaging with country-based filtering and automatic phone-number extraction
- **Advanced Options** - Delay, flash SMS, performance tracking, custom labels, foreign IDs

Prerequisites
-------------

[](#prerequisites)

- [Craft CMS](https://craftcms.com) 3.1.5 or newer
- (Optional) [Craft Commerce](https://craftcms.com/commerce) 2.x for bulk messaging
- A [seven account](https://www.seven.io/) with API key ([How to get your API key](https://help.seven.io/en/developer/where-do-i-find-my-api-key))

Installation
------------

[](#installation)

### Composer

[](#composer)

```
cd /path/to/craft-project
composer require seven.io/craft
./craft install/plugin seven
```

### Plugin Store

[](#plugin-store)

Install **seven** from the Craft Plugin Store.

Configuration
-------------

[](#configuration)

Open **Settings &gt; seven** in the Craft control panel:

FieldDescriptionAPI KeyYour seven API key (required)FromDefault sender ID. Up to 16 charactersUsage
-----

[](#usage)

### Control Panel

[](#control-panel)

- **seven SMS** - Send single or bulk SMS
- **seven Voice** - Place single or bulk voice calls

For bulk Commerce messaging, leave the recipient field empty and pick countries to filter.

### Programmatic SMS

[](#programmatic-sms)

```
use Seven\Craft\Plugin;

$sms = Plugin::getInstance()->getSms();
$sms->params
    ->setTo('+4901234567890')
    ->setText('Your message')
    ->setFrom('YourCompany')
    ->setDelay('2024-12-31 23:59')
    ->setFlash(true)
    ->setLabel('campaign-2024')
    ->setPerformanceTracking(true);

$success = $sms->send();
```

### Programmatic Voice

[](#programmatic-voice)

```
use Seven\Craft\Plugin;

$voice = Plugin::getInstance()->getVoice();
$voice->params
    ->setTo('+4901234567890')
    ->setText('Hello there')
    ->setFrom('YourCompany')
    ->setXml(false)
    ->setJson(true);

$success = $voice->send();
```

### Available parameters

[](#available-parameters)

**SMS** (`SmsParams`): `setTo`, `setText`, `setFrom`, `setDelay`, `setFlash`, `setForeignId`, `setJson`, `setLabel`, `setPerformanceTracking`

**Voice** (`VoiceParams`): `setTo`, `setText`, `setFrom`, `setXml`, `setJson`

### Error handling

[](#error-handling)

`send()` returns `true` for success (API response `100`) or `false` on failure. Detailed errors are logged via Craft's error handler.

Support
-------

[](#support)

Need help? Feel free to [contact us](https://www.seven.io/en/company/contact/) or [open an issue](https://github.com/seven-io/craft/issues).

License
-------

[](#license)

[MIT](LICENSE.md)

###  Health Score

31

—

LowBetter than 66% of packages

Maintenance45

Moderate activity, may be stable

Popularity3

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 73.3% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

1900d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2630735456c80aab26c3c9c05b7de0528601df89fdc587ae0b428458e251b59a?d=identicon)[matthiez](/maintainers/matthiez)

---

Top Contributors

[![matthiez](https://avatars.githubusercontent.com/u/12965261?v=4)](https://github.com/matthiez "matthiez (11 commits)")[![cl77](https://avatars.githubusercontent.com/u/33660027?v=4)](https://github.com/cl77 "cl77 (4 commits)")

---

Tags

craft-commercecraft-plugincraft3craftcmsseven-pluginsmssmscmsCraftcommercettstext2speech

### Embed Badge

![Health badge](/badges/sevenio-craft/health.svg)

```
[![Health](https://phpackages.com/badges/sevenio-craft/health.svg)](https://phpackages.com/packages/sevenio-craft)
```

###  Alternatives

[craftcms/feed-me

Import content from XML, RSS, CSV or JSON feeds into entries, categories, Craft Commerce products, and more.

293952.6k33](/packages/craftcms-feed-me)[verbb/formie

The most user-friendly forms plugin for Craft.

102393.6k68](/packages/verbb-formie)[verbb/comments

Add comments to your site.

13753.9k](/packages/verbb-comments)[verbb/navigation

Create navigation menus for your site.

92705.0k18](/packages/verbb-navigation)[verbb/vizy

A flexible visual editor field for Craft.

4250.4k](/packages/verbb-vizy)[verbb/hyper

A user-friendly links field for Craft.

24147.8k12](/packages/verbb-hyper)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
