PHPackages                             lbhurtado/engagespark - 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. [Mail &amp; Notifications](/categories/mail)
4. /
5. lbhurtado/engagespark

ActiveLibrary[Mail &amp; Notifications](/categories/mail)

lbhurtado/engagespark
=====================

This package makes it easy to send SMS notifications and topups via engageSPARK with Laravel.

v3.9(3d ago)07.6k1MITPHPPHP ~7.1||^8.0.1CI failing

Since May 5Pushed 1y ago1 watchersCompare

[ Source](https://github.com/lbhurtado/engagespark)[ Packagist](https://packagist.org/packages/lbhurtado/engagespark)[ Docs](https://github.com/lbhurtado/engagespark)[ RSS](/packages/lbhurtado-engagespark/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (10)Dependencies (12)Versions (29)Used By (1)

engageSpark Laravel Notification Package
========================================

[](#engagespark-laravel-notification-package)

[![Latest Version on Packagist](https://camo.githubusercontent.com/9c96e3cca12a718a566c7a500be522b25c06df07205b6628197ffd00d5754c8f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6c626875727461646f2f656e67616765737061726b2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/lbhurtado/engagespark)[![Build Status](https://camo.githubusercontent.com/0f58a95c5b817dea031982a9b04c55c0a72e28353c96ab6d71deaf4e006710ed/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6c626875727461646f2f656e67616765737061726b2f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/lbhurtado/engagespark)[![Quality Score](https://camo.githubusercontent.com/e396a3f46144de675b0a864ded1fa7b26dd7a9a8be6de90e2a454660ee67f5e6/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f6c626875727461646f2f656e67616765737061726b2e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/lbhurtado/engagespark)[![Total Downloads](https://camo.githubusercontent.com/d754b314ace334968a9f90bb9da0a66d3a515c20d2386548340442554a1de661/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6c626875727461646f2f656e67616765737061726b2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/lbhurtado/engagespark)

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

[](#installation)

You can install the package via composer:

```
composer require lbhurtado/engagespark
php artisan notifications:table
php artisan migrate
```

required environment variables:

```
ENGAGESPARK_API_KEY=
ENGAGESPARK_ORGANIZATION_ID=
```

optional environment variables:

```
ENGAGESPARK_SENDER_ID=
ENGAGESPARK_SMS_WEBHOOK=
ENGAGESPARK_AIRTIME_WEBHOOK=
NOTIFICATION_CLASS=
ENGAGESPARK_MIN_TOPUP=
```

optional configuration:

```
php artisan vendor:publish --provider="LBHurtado\EngageSpark\EngageSparkServiceProvider"
```

Usage
-----

[](#usage)

in your notification:

```
use LBHurtado\EngageSpark\EngageSparkChannel;
use LBHurtado\EngageSpark\EngageSparkMessage;

public function via($notifiable)
{
    return [EngageSparkChannel::class];
}

public function toEngageSpark($notifiable)
{
    return (new EngageSparkMessage())
        ->content('The quick brown fox jumps over the lazy dog.')
        ;
}
```

in your notifiable model:

```
use Illuminate\Notifications\Notifiable;

public function routeNotificationForEngageSpark()
{
    return $this->mobile;
}
```

or use the trait:

```
use LBHurtado\EngageSpark\Traits\HasEngageSpark;

class Contact extends Model
{
    use HasEngageSpark;
}
```

in your application:

```
use LBHurtado\EngageSpark\Notifications\Topup
use LBHurtado\EngageSpark\Notifications\Adhoc;

$user->notify(new Adhoc('The quick brown fox...'));
$user->notify(new Topup(25);
```

### Testing

[](#testing)

```
composer test
```

### Changelog

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

### Security

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Lester Hurtado](https://github.com/lbhurtado)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

Laravel Package Boilerplate
---------------------------

[](#laravel-package-boilerplate)

This package was generated using the [Laravel Package Boilerplate](https://laravelpackageboilerplate.com).

###  Health Score

49

—

FairBetter than 94% of packages

Maintenance70

Regular maintenance activity

Popularity21

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity76

Established project with proven stability

 Bus Factor1

Top contributor holds 98.1% 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 ~96 days

Recently: every ~295 days

Total

28

Last Release

3d ago

Major Versions

1.2.0 → 2.0.02019-08-09

2.1.2 → v3.02020-11-21

PHP version history (2 changes)1.0.0PHP ^7.1

v3.1PHP ~7.1||^8.0.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/cd9f88a96abae072ebe0b8b784a131cd7d409c987d7fca9b51a6670612243018?d=identicon)[lbhurtado](/maintainers/lbhurtado)

---

Top Contributors

[![lbhurtado](https://avatars.githubusercontent.com/u/5870664?v=4)](https://github.com/lbhurtado "lbhurtado (51 commits)")[![3neti](https://avatars.githubusercontent.com/u/89447696?v=4)](https://github.com/3neti "3neti (1 commits)")

---

Tags

smslbhurtadoengagespark

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/lbhurtado-engagespark/health.svg)

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

###  Alternatives

[craftcms/cms

Craft CMS

3.6k3.6M3.1k](/packages/craftcms-cms)[illuminate/http

The Illuminate Http package.

11937.9M6.9k](/packages/illuminate-http)[spatie/laravel-export

Create a static site bundle from a Laravel app

674146.0k6](/packages/spatie-laravel-export)[tzsk/sms

A robust and unified SMS gateway integration package for Laravel, supporting multiple providers.

319270.8k6](/packages/tzsk-sms)[gr8shivam/laravel-sms-api

A modern, flexible Laravel package for integrating any SMS gateway with REST API support

10240.6k](/packages/gr8shivam-laravel-sms-api)[simplestats-io/laravel-client

Server-side analytics for Laravel that follows the full funnel from visit to registration to payment, attributed to the channel that drove it. Revenue, MRR, churn and ad-spend profit (ROAS/CAC) per channel. GDPR compliant, ad-blocker proof.

5021.9k](/packages/simplestats-io-laravel-client)

PHPackages © 2026

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