PHPackages                             bigbharatjain/laravel-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. bigbharatjain/laravel-clickatell

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

bigbharatjain/laravel-clickatell
================================

This package makes it easy to send sms using clickatell.com with Laravel 5.

1.0.1(5y ago)1434.9k7MITPHP

Since Oct 16Pushed 5y agoCompare

[ Source](https://github.com/bigbharatjain/laravel-clickatell)[ Packagist](https://packagist.org/packages/bigbharatjain/laravel-clickatell)[ RSS](/packages/bigbharatjain-laravel-clickatell/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (1)DependenciesVersions (3)Used By (0)

Laravel Clickatell REST API
===========================

[](#laravel-clickatell-rest-api)

For Laravel 5.0 and above. This package allows integration with the new [Clickatell](https://portal.clickatell.com) website.

Introduction
------------

[](#introduction)

Integrate Clickatell in your laravel application and send sms using this package.

Getting Started
---------------

[](#getting-started)

To get started add the following package to your `composer.json` file.

```
composer require bigbharatjain/laravel-clickatell

```

Configuring
-----------

[](#configuring)

When composer installs Clickatell library successfully, register the `Clickatell\ClickatellServiceProvider` in your `config/app.php` configuration file.

```
'providers' => [
    // Other service providers...
    Clickatell\ClickatellServiceProvider::class,
],
```

Also, add the `Clickatell` facade to the `aliases` array in your `app` configuration file:

```
'aliases' => [
    // Other aliases
    'Clickatell' => Clickatell\ClickatellFacade::class,
],
```

#### One more step to go....

[](#one-more-step-to-go)

It will publish a `clickatell.php` in config folder Add set Clickatell api\_key here or create an environment variable `CLICKATELL_API_KEY`

Usage
-----

[](#usage)

The new APIs only support `sendMessage` call and webhooks for outgoing and inbound messages via a *RESTful* interface.

```
namespace App\Http\Controllers;

use Clickatell\Rest;
use Clickatell\ClickatellException;

class SendSmsController extends Controller
{
$clickatell = new \Clickatell\Rest();

// Full list of support parameters can be found at https://www.clickatell.com/developers/api-documentation/rest-api-request-parameters/
try {
    $result = $clickatell->sendMessage(['to' => ['27111111111'], 'content' => 'Message Content']);

    foreach ($result['messages'] as $message) {
        var_dump($message);

        /*
        [
            'apiMsgId'  => null|string,
            'accepted'  => boolean,
            'to'        => string,
            'error'     => null|string
        ]
        */
    }

} catch (ClickatellException $e) {
    // Any API call error will be thrown and should be handled appropriately.
    // The API does not return error codes, so it's best to rely on error descriptions.
    var_dump($e->getMessage());
}
```

### Status/Reply Callback

[](#statusreply-callback)

After configuring your webhooks/callbacks inside the developer portal, you can use the static callback methods to listen for web requests from Clickatell. These callbacks will extract the supported fields from the request body.

```
use Clickatell\Rest;
use Clickatell\ClickatellException;

// Outgoing traffic callbacks (MT callbacks)
Rest::parseStatusCallback(function ($result) {
    var_dump($result);
    // This will execute if the request to the web page contains all the values
    // specified by Clickatell. Requests that omit these values will be ignored.
});

// Incoming traffic callbacks (MO/Two Way callbacks)
Rest::parseReplyCallback(function ($result) {
    var_dump($result);
    // This will execute if the request to the web page contains all the values
    // specified by Clickatell. Requests that omit these values will be ignored.
});
```

Credits
-------

[](#credits)

[PHP library for the Clickatell Platform](https://github.com/clickatell/clickatell-php)

Issues/Contributions
--------------------

[](#issuescontributions)

Found a bug or missing a feature? Log it [here](https://github.com/bigbharatjain/laravel-clickatell/issues) and I will take a look.

###  Health Score

37

—

LowBetter than 81% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity36

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 80% 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 ~1294 days

Total

2

Last Release

1881d ago

### Community

Maintainers

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

---

Top Contributors

[![bigbharatjain](https://avatars.githubusercontent.com/u/26894966?v=4)](https://github.com/bigbharatjain "bigbharatjain (4 commits)")[![olipiskandar](https://avatars.githubusercontent.com/u/4706142?v=4)](https://github.com/olipiskandar "olipiskandar (1 commits)")

---

Tags

laravelclickatellsms-laravellaravel-clickatell

### Embed Badge

![Health badge](/badges/bigbharatjain-laravel-clickatell/health.svg)

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

###  Alternatives

[tzsk/sms

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

318263.8k6](/packages/tzsk-sms)[erag/laravel-disposable-email

A Laravel package to detect and block disposable email addresses.

252143.0k](/packages/erag-laravel-disposable-email)[coreproc/nova-notification-feed

A Laravel Nova package that adds a notification feed in your Nova app.

10049.3k](/packages/coreproc-nova-notification-feed)[matthewbdaly/laravel-sms

A Laravel and Lumen integration for matthewbdaly/sms-client to enable sending SMS messages

3529.8k](/packages/matthewbdaly-laravel-sms)

PHPackages © 2026

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