PHPackages                             sms77/bagisto - 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. sms77/bagisto

Abandoned → [seven.io/bagisto](/?search=seven.io%2Fbagisto)Library[Utility &amp; Helpers](/categories/utility)

sms77/bagisto
=============

v1.2.0(3y ago)18[8 issues](https://github.com/seven-io/bagisto/issues)[7 PRs](https://github.com/seven-io/bagisto/pulls)MITPHPPHP ^7.4|^8.0CI passing

Since Jan 26Pushed 1mo ago1 watchersCompare

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

READMEChangelog (3)Dependencies (1)Versions (16)Used By (0)

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

seven SMS for Bagisto
=====================

[](#seven-sms-for-bagisto)

 Send transactional and marketing SMS to your Bagisto customers and customer groups via the seven gateway.
 [**seven.io**](https://www.seven.io) · [API Docs](https://docs.seven.io) · [Integration Docs](https://docs.seven.io/en/third-party-provider/e-commerce/bagisto) · [Packagist](https://packagist.org/packages/seven.io/bagisto)

 [![MIT License](https://camo.githubusercontent.com/e19d32ddd0fe35c406741f25b9b857f291780424f61b66afa7f884354256b8ea/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d7465616c2e737667)](LICENSE) [![Bagisto 1.2 | 1.3](https://camo.githubusercontent.com/f23cc2081bbbee694b01b4f96f8601b663c2dcb92016a75750a00932d333c9ad/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4261676973746f2d312e322532307c253230312e332d626c7565)](https://camo.githubusercontent.com/f23cc2081bbbee694b01b4f96f8601b663c2dcb92016a75750a00932d333c9ad/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4261676973746f2d312e322532307c253230312e332d626c7565) [![PHP 7.4 | 8.x](https://camo.githubusercontent.com/aa6acb03a54293a874e37011222583f6ee339554a5eb93bc1a420d092fefd1cf/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d372e342532307c253230382e782d707572706c65)](https://camo.githubusercontent.com/aa6acb03a54293a874e37011222583f6ee339554a5eb93bc1a420d092fefd1cf/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d372e342532307c253230382e782d707572706c65)

---

Features
--------

[](#features)

- **Send to Customer** - Trigger an SMS for any customer with one click from the admin panel
- **Send to Customer Group** - Broadcast a message to every customer in a Bagisto group
- **Property Placeholders** - Use `{{first_name}}`, `{{last_name}}` (and any other customer property) in your message body
- **Two Configuration Modes** - Configure the API key in the admin UI or via `.env`
- **Native Service Provider** - Auto-discovered Laravel service provider, no manual wiring required

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

[](#prerequisites)

- [Bagisto](https://bagisto.com/) 1.2 or 1.3
- PHP 7.4 or 8.x
- 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)

### 1. Install via Composer

[](#1-install-via-composer)

```
composer require seven.io/bagisto
```

### 2. Register the service provider

[](#2-register-the-service-provider)

The provider is auto-discovered. If you have disabled package discovery, add it manually to `config/app.php`:

```
'providers' => [
    // ...
    Seven\Bagisto\Providers\SevenServiceProvider::class,
],
```

### 3. Run migrations

[](#3-run-migrations)

```
php artisan cache:clear
php artisan migrate
```

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

[](#configuration)

You can supply your API key either through the admin UI **or** via environment variable. The admin-UI value takes precedence.

### Option A: Admin panel

[](#option-a-admin-panel)

Navigate to **Dashboard &gt; Configure &gt; seven**, enter your API key and click **Save**.

### Option B: Environment variable

[](#option-b-environment-variable)

Add the key to your `.env`:

```
SEVEN_API_KEY=your-seven-api-key
```

Then reference it in `config/services.php`:

```
return [
    // ...
    'seven' => [
        'api_key' => env('SEVEN_API_KEY'),
    ],
];
```

Cache the configuration:

```
php artisan cache:clear && php artisan config:cache
```

> **Note:** When the API key is set in the admin UI, it overrides the environment variable. The `.env` value is intentionally not displayed in the configuration form.

Usage
-----

[](#usage)

### Send to a single customer

[](#send-to-a-single-customer)

Go to **Customers**, locate the row of the recipient and click the **seven** icon in the *Actions* column.

### Send to a customer group

[](#send-to-a-customer-group)

Go to **Groups** and click the **seven** icon next to the target group.

### Use placeholders

[](#use-placeholders)

Any property defined on the customer can be referenced in the message body. Example:

```
Hi {{first_name}}, your order is on its way!

```

Unresolved placeholders remain as plain text in the outgoing SMS.

Troubleshooting
---------------

[](#troubleshooting)

ProblemSolution`seven` icon missing from the Customers/Groups listRun `php artisan cache:clear && php artisan config:cache` and reload.API key from `.env` is ignoredA value set in the admin UI overrides the `.env`. Clear the field in **Dashboard &gt; Configure &gt; seven** to fall back.SMS sending failsVerify the API key in the seven [dashboard](https://app.seven.io/) and check your account balance.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/bagisto/issues).

License
-------

[](#license)

[MIT](LICENSE)

###  Health Score

32

—

LowBetter than 69% of packages

Maintenance41

Moderate activity, may be stable

Popularity6

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 61.5% 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

Every ~449 days

Total

4

Last Release

269d ago

Major Versions

v1.2.0 → v2.x-dev2025-10-06

PHP version history (2 changes)v1.0.0PHP ^7.4|^8.0

v2.x-devPHP ^8

### 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 (8 commits)")[![cl77](https://avatars.githubusercontent.com/u/33660027?v=4)](https://github.com/cl77 "cl77 (4 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (1 commits)")

---

Tags

bagistobagisto-packagee-commercelaravelphpseven-pluginsmssmsgatewaybagisto

### Embed Badge

![Health badge](/badges/sms77-bagisto/health.svg)

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

###  Alternatives

[php-smpp/php-smpp

PHP-based SMPP client lib

236203.5k8](/packages/php-smpp-php-smpp)[instasent/sms-counter-php

SMS Counter PHP Class Library which detects encoding of an SMS message text, counts the characters as per the encoding and gives page limit information.

501.4M4](/packages/instasent-sms-counter-php)[bagisto/laravel-datafaker

Create fake customers, categories and products in Bagisto.

24361.6k4](/packages/bagisto-laravel-datafaker)[alexandr-mironov/php-smpp

PHP SMPP client lib, fork of onlinecity/php-smpp

5072.0k](/packages/alexandr-mironov-php-smpp)[benmorel/gsm-charset-converter

Converts GSM 03.38 strings to and from UTF-8

16477.7k](/packages/benmorel-gsm-charset-converter)[daixianceng/yii2-smser

Yii2 SMS extension

882.9k1](/packages/daixianceng-yii2-smser)

PHPackages © 2026

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