PHPackages                             codemonkey76/laravel-clicksend - 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. [API Development](/categories/api)
4. /
5. codemonkey76/laravel-clicksend

ActiveLibrary[API Development](/categories/api)

codemonkey76/laravel-clicksend
==============================

Laravel wrapper for ClickSend Rest API

v1.0.1(2y ago)03.5k↑11.1%1MITPHPPHP ^8

Since Mar 1Pushed 2y ago1 watchersCompare

[ Source](https://github.com/codemonkey76/laravel-clicksend)[ Packagist](https://packagist.org/packages/codemonkey76/laravel-clicksend)[ Docs](https://github.com/codemonkey76/laravel-clicksend)[ RSS](/packages/codemonkey76-laravel-clicksend/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (4)Versions (25)Used By (0)

Very short description of the package
=====================================

[](#very-short-description-of-the-package)

[![Latest Version on Packagist](https://camo.githubusercontent.com/507a2883539661e84561909576d74cfa33e59aa6e47ef4a0fdc72fb15465c179/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f636f64656d6f6e6b657937362f6c61726176656c2d636c69636b73656e642e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/codemonkey76/laravel-clicksend)[![Total Downloads](https://camo.githubusercontent.com/bf99265518e8a2f8ac93a0cba7a252400956ab4b03a7cf394286375ff948949c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f636f64656d6f6e6b657937362f6c61726176656c2d636c69636b73656e642e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/codemonkey76/laravel-clicksend)[![GitHub Actions](https://github.com/codemonkey76/laravel-clicksend/actions/workflows/main.yml/badge.svg)](https://github.com/codemonkey76/laravel-clicksend/actions/workflows/main.yml/badge.svg)

This is a laravel wrapper for ClickSend's REST API, currently only implementing sending SMS and getting delivery receipts for those messages.

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

[](#installation)

You can install the package via composer:

```
composer require codemonkey76/laravel-clicksend
```

Config
------

[](#config)

Optionally you can publish the config file if you would like to modify the config.

```
php artisan vendor:publish --provider="Codemonkey76\ClickSend\ClickSendServiceProvider"
```

Environment
-----------

[](#environment)

Add the following to your .env file and set the values from your clicksend account.

```
CLICKSEND_USERNAME=
CLICKSEND_PASSWORD=
```

Optionally if you need to modify the api endpoint, you can also define the following.

```
CLICKSEND_API_ENDPOINT=**
```

Usage
-----

[](#usage)

Example 1. Sending a single message and retreiving the delivery receipt.

```
use Codemonkey76\ClickSend\SmsMessage;

$recipient = '1234567890';
$senderId  = '1234567890';
$body      = 'Test Message';

$message = new SmsMessage($recipient, $senderId, $body);

$response = ClickSend::SendMessage($message);

// Some time later, get the receipt.
sleep(5);

ClickSend::GetMessageReceipt($response->data->messages[0]->message_id);
```

Example 2. Send multiple messages and retrieve their delivery receipts.

```
use Codemonkey76\ClickSend\SmsMessage;

$message1 = new SmsMessage('1234567890', '1234567890', 'Test Message #1');
$message2 = new SmsMessage('1234567890', '1234567890', 'Test Message #2');
$message3 = new SmsMessage('1234567890', '1234567890', 'Test Message #3');
$message4 = new SmsMessage('1234567890', '1234567890', 'Test Message #4');

$response = ClickSend::SendMessage([$message1, $message2, $message3, $message4]);

// Some time later, get the receipts.
sleep(5);

$receipt1 = ClickSend::GetMessageReceipt($response->data->message[0]->message_id);
$receipt2 = ClickSend::GetMessageReceipt($response->data->message[1]->message_id);
$receipt3 = ClickSend::GetMessageReceipt($response->data->message[2]->message_id);
$receipt4 = ClickSend::GetMessageReceipt($response->data->message[3]->message_id);
```

### 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)

- [Shane Poppleton](https://github.com/codemonkey76)
- [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

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 87.9% 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 ~32 days

Recently: every ~185 days

Total

24

Last Release

791d ago

Major Versions

v0.4.0 → v1.0.12024-03-18

PHP version history (2 changes)v0.1.8PHP ^8.0

v1.0.1PHP ^8

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/3654457?v=4)[Shane Poppleton](/maintainers/codemonkey76)[@codemonkey76](https://github.com/codemonkey76)

---

Top Contributors

[![codemonkey76](https://avatars.githubusercontent.com/u/3654457?v=4)](https://github.com/codemonkey76 "codemonkey76 (29 commits)")[![arif98741](https://avatars.githubusercontent.com/u/17213478?v=4)](https://github.com/arif98741 "arif98741 (3 commits)")[![popplestones](https://avatars.githubusercontent.com/u/102414696?v=4)](https://github.com/popplestones "popplestones (1 commits)")

---

Tags

codemonkey76laravel-clicksend

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/codemonkey76-laravel-clicksend/health.svg)

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

###  Alternatives

[skagarwal/google-places-api

Google Places Api

1913.0M8](/packages/skagarwal-google-places-api)[dcblogdev/laravel-microsoft-graph

A Laravel Microsoft Graph API (Office365) package

168285.5k1](/packages/dcblogdev-laravel-microsoft-graph)[vluzrmos/slack-api

Wrapper for Slack.com WEB API.

102589.1k3](/packages/vluzrmos-slack-api)[smodav/mpesa

M-Pesa API implementation

16363.7k1](/packages/smodav-mpesa)[jasara/php-amzn-selling-partner-api

A fluent interface for Amazon's Selling Partner API in PHP

1344.8k1](/packages/jasara-php-amzn-selling-partner-api)[grantholle/powerschool-api

A Laravel package to make interacting with PowerSchool less painful.

1715.6k1](/packages/grantholle-powerschool-api)

PHPackages © 2026

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