PHPackages                             io-digital/clickatell - 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. io-digital/clickatell

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

io-digital/clickatell
=====================

Clickatell notifications driver

1.0.0(3y ago)03.0kMITPHPPHP ^8.1

Since Aug 15Pushed 3y agoCompare

[ Source](https://github.com/io-digital/clickatell)[ Packagist](https://packagist.org/packages/io-digital/clickatell)[ Docs](https://github.com/io-digital/clickatell/clickatell)[ RSS](/packages/io-digital-clickatell/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (8)Versions (24)Used By (0)

Clickatell notifications channel for Laravel
============================================

[](#clickatell-notifications-channel-for-laravel)

[![Latest Version on Packagist](https://camo.githubusercontent.com/dcf6770002b73b22010591845a96ce00154b77e8adbdddb13934173c91d4de94/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f696f2d6469676974616c2f636c69636b6174656c6c2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/io-digital/clickatell)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Total Downloads](https://camo.githubusercontent.com/41af5890b58781e3814c4312459f579e878066dc5e977aa7fca4c07080e66b26/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f696f2d6469676974616c2f636c69636b6174656c6c2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/io-digital/clickatell)

This package makes it easy to send notifications using [clickatell.com](https://www.clickatell.com/) with Laravel 5.5+, 6.x &amp; 7.x.

Contents
--------

[](#contents)

- [Installation](#installation)
    - [Setting up the Clickatell service](#setting-up-the-clickatell-service)
- [Usage](#usage)
    - [Available Message methods](#available-message-methods)
- [Changelog](#changelog)
- [Testing](#testing)
- [Security](#security)
- [Contributing](#contributing)
- [Credits](#credits)
- [License](#license)

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

[](#installation)

You can install the package via composer:

```
composer require io-digital/clickatell
```

### Setting up the clickatell service

[](#setting-up-the-clickatell-service)

Add your Clickatell user, password and api identifier to your `config/services.php`:

```
// config/services.php
...
'clickatell' => [
    'api_key' => env('CLICKATELL_API_KEY'),
],
...
```

Usage
-----

[](#usage)

**Number format: +27840000000**

To route Clickatell notifications to the proper phone number, define a `routeNotificationForClickatell` method on your notifiable entity:

```
class User extends Authenticatable
{
    use Notifiable;

    /**
     * Route notifications for the Nexmo channel.
     *
     * @param  \Illuminate\Notifications\Notification  $notification
     * @return string
     */
    public function routeNotificationForClickatell($notification)
    {
        return $this->phone_number;
    }
}
```

You can use the channel in your `via()` method inside the notification:

```
use Illuminate\Notifications\Notification;
use IoDigital\Clickatell\ClickatellMessage;
use IoDigital\Clickatell\ClickatellChannel;

class AccountApproved extends Notification
{
    public function via($notifiable)
    {
        return [ClickatellChannel::class];
    }

    public function toClickatell($notifiable)
    {
        return (new ClickatellMessage())
            ->content("Your {$notifiable->service} account was approved!");
    }
}
```

```
Notification::route('clickatell', 'YOUR E164 NUMBER')
        ->notifyNow(new \App\Notifications\MyNotification($model));
```

Changelog
---------

[](#changelog)

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

Testing
-------

[](#testing)

```
$ composer test
```

Security
--------

[](#security)

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

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

[](#contributing)

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

Credits
-------

[](#credits)

- [etiennemarais](https://github.com/etiennemarais)
- [arcturial](https://github.com/arcturial)
    - For the [Clickatell Client implementation](https://github.com/arcturial/clickatell) which I leverage on for this wrapper

License
-------

[](#license)

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

###  Health Score

38

—

LowBetter than 85% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity82

Battle-tested with a long release history

 Bus Factor2

2 contributors hold 50%+ of commits

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 ~135 days

Recently: every ~164 days

Total

18

Last Release

1260d ago

Major Versions

0.1.14 → 1.0.02022-12-05

PHP version history (4 changes)0.0.1PHP &gt;=5.6.4

0.1.3PHP &gt;=7.1

0.1.5PHP &gt;=7.4

1.0.0PHP ^8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/0acb24b4d76853e47a3ad42fba61d9c623a7e0ea4d38e52ac134dd953174529b?d=identicon)[io-digital](/maintainers/io-digital)

---

Top Contributors

[![freekmurze](https://avatars.githubusercontent.com/u/483853?v=4)](https://github.com/freekmurze "freekmurze (12 commits)")[![atymic](https://avatars.githubusercontent.com/u/50683531?v=4)](https://github.com/atymic "atymic (6 commits)")[![garethnic](https://avatars.githubusercontent.com/u/1523598?v=4)](https://github.com/garethnic "garethnic (4 commits)")[![matsava](https://avatars.githubusercontent.com/u/7782312?v=4)](https://github.com/matsava "matsava (3 commits)")[![brycelarge](https://avatars.githubusercontent.com/u/6615112?v=4)](https://github.com/brycelarge "brycelarge (2 commits)")[![themsaid](https://avatars.githubusercontent.com/u/4332182?v=4)](https://github.com/themsaid "themsaid (2 commits)")[![etiennemarais](https://avatars.githubusercontent.com/u/4479918?v=4)](https://github.com/etiennemarais "etiennemarais (2 commits)")[![innoflash](https://avatars.githubusercontent.com/u/12772919?v=4)](https://github.com/innoflash "innoflash (1 commits)")[![casperboone](https://avatars.githubusercontent.com/u/15815208?v=4)](https://github.com/casperboone "casperboone (1 commits)")[![mpociot](https://avatars.githubusercontent.com/u/804684?v=4)](https://github.com/mpociot "mpociot (1 commits)")

---

Tags

laravelnotificationssmsclickatell

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/io-digital-clickatell/health.svg)

```
[![Health](https://phpackages.com/badges/io-digital-clickatell/health.svg)](https://phpackages.com/packages/io-digital-clickatell)
```

###  Alternatives

[laravel-notification-channels/telegram

Telegram Notifications Channel for Laravel

1.1k3.4M35](/packages/laravel-notification-channels-telegram)[s-ichikawa/laravel-sendgrid-driver

This library adds a 'sendgrid' mail driver to Laravel.

4139.3M1](/packages/s-ichikawa-laravel-sendgrid-driver)[laravel-notification-channels/twilio

Provides Twilio notification channel for Laravel

2587.7M12](/packages/laravel-notification-channels-twilio)[laravel-notification-channels/discord

Laravel notification driver for Discord.

2371.3M11](/packages/laravel-notification-channels-discord)[tzsk/sms

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

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

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

10138.4k](/packages/gr8shivam-laravel-sms-api)

PHPackages © 2026

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