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

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

arcturial/clickatell
====================

Standalone PHP library to integrate with the Clickatell SMS gateway

3.0.0(9y ago)52719.1k—3.2%38[1 PRs](https://github.com/arcturial/clickatell/pulls)11GNU General Public LicensePHPPHP &gt;=5.3.3

Since Jun 16Pushed 7y ago6 watchersCompare

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

READMEChangelog (1)Dependencies (1)Versions (21)Used By (11)

PHP library for the Clickatell Platform
=======================================

[](#php-library-for-the-clickatell-platform)

Master: [![Build Status](https://camo.githubusercontent.com/39ae79d2602a8104e45353300749d31ed887576e360f1407c029cf71a7f6c6fa/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f61726374757269616c2f636c69636b6174656c6c2e706e673f6272616e63683d6d6173746572)](http://travis-ci.org/arcturial/clickatell)

This library allows integration with the new [Clickatell](https://portal.clickatell.com) website.

**Please Note:** Customers with accounts registered on the old [central.clickatell.com](https://central.clickatell.com) should use the tagged released or dev branches for version 2 of the repository, version 3 and up is for the new platform and older accounts will not work with this.

Usage
-----

[](#usage)

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

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

$clickatell = new \Clickatell\Rest('token');

// 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.
});
```

###  Health Score

45

—

FairBetter than 93% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity52

Moderate usage in the ecosystem

Community31

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 85.6% 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 ~105 days

Recently: every ~151 days

Total

16

Last Release

3143d ago

Major Versions

1.0.4 → 2.0.02014-12-29

2.x-dev → 3.0.02017-03-10

PHP version history (2 changes)1.0.0PHP &gt;=5.3.3

3.x-devPHP &gt;=5.5

### Community

Maintainers

![](https://www.gravatar.com/avatar/2787ddd57df0bac305f65f81eba968048955c85863745eaeb3a63c457edcb133?d=identicon)[arcturial](/maintainers/arcturial)

---

Top Contributors

[![arcturial](https://avatars.githubusercontent.com/u/1466729?v=4)](https://github.com/arcturial "arcturial (95 commits)")[![petrot](https://avatars.githubusercontent.com/u/4799473?v=4)](https://github.com/petrot "petrot (4 commits)")[![jonnywilliamson](https://avatars.githubusercontent.com/u/2513663?v=4)](https://github.com/jonnywilliamson "jonnywilliamson (4 commits)")[![etiennemarais](https://avatars.githubusercontent.com/u/4479918?v=4)](https://github.com/etiennemarais "etiennemarais (2 commits)")[![Basster](https://avatars.githubusercontent.com/u/1265783?v=4)](https://github.com/Basster "Basster (2 commits)")[![dTHQb](https://avatars.githubusercontent.com/u/5469144?v=4)](https://github.com/dTHQb "dTHQb (2 commits)")[![jwasilewski-bit](https://avatars.githubusercontent.com/u/224731308?v=4)](https://github.com/jwasilewski-bit "jwasilewski-bit (1 commits)")[![arcadas](https://avatars.githubusercontent.com/u/5682734?v=4)](https://github.com/arcadas "arcadas (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[minishlink/web-push

Web Push library for PHP

1.9k12.0M53](/packages/minishlink-web-push)[laravel-notification-channels/twilio

Provides Twilio notification channel for Laravel

2587.7M12](/packages/laravel-notification-channels-twilio)[spatie/url-signer

Generate a url with an expiration date and signature to prevent unauthorized access

4422.3M16](/packages/spatie-url-signer)[mattketmo/email-checker

Throwaway email detection library

2742.0M5](/packages/mattketmo-email-checker)[laravel-notification-channels/discord

Laravel notification driver for Discord.

2371.3M11](/packages/laravel-notification-channels-discord)[eduardokum/laravel-mail-auto-embed

Library for embed images in emails automatically

1702.0M5](/packages/eduardokum-laravel-mail-auto-embed)

PHPackages © 2026

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