PHPackages                             patricpoba/arkesel-php - 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. patricpoba/arkesel-php

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

patricpoba/arkesel-php
======================

This package enables sending of sms from your laravel application using https://sms.arkesel.com as a service provider.

v1.0.4(2y ago)75122MITPHPPHP ^7.0|^8.0CI failing

Since May 4Pushed 2y ago1 watchersCompare

[ Source](https://github.com/patricpoba/arkesel-php)[ Packagist](https://packagist.org/packages/patricpoba/arkesel-php)[ Docs](https://github.com/patricpoba/arkesel-php)[ RSS](/packages/patricpoba-arkesel-php/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (1)Dependencies (2)Versions (6)Used By (0)

Arkesel SMS PHP and Laravel Package
===================================

[](#arkesel-sms-php-and-laravel-package)

This package enables sending of sms from your laravel application using  as a service provider.

Requirements &amp; Installation
-------------------------------

[](#requirements--installation)

This package requires at least php 7.0 or laravel 5.5. You can install the package via composer:

```
composer require patricpoba/arkesel-php
```

PHP Usage
---------

[](#php-usage)

```
// PHP Examples

use PatricPoba\Arkesel\Sms;

$sms = new Sms('SenderId', 'smsApiKey');

## Basic sending(uses api_key set in .env file)
// successful response: {"code":"ok","message":"Successfully Send","balance":17706,"user":"Yaw Berko"}
// error response: {"code":"102","message":"Authentication Failed"}
$sms->send('02XXXXXXXXX', 'Testing sms messaging');

## To use a different api key at runtime,
$sms->setApiKey('API_KEY_GOES_HERE')->send('02XXXXXXXX', 'Testing App');

## To customise sender Id (must not be more than 11 characters)
$sms->from('CompanyName')->send('02XXXXXXXX', 'Testing App');

## Sceduling (sending message at a later time)
// successful response: {"code":"109","message":"Invalid Schedule Time"}
// successful response: {"code":"ok","message":"SMS Scheduled successfully.","balance":17705,"user":"Yaw Berko"}
$dateTime ='04-05-2020 06:19 PM'; // Must be this format - "d-m-Y h:i A"
$sms->schedule($dateTime, '02XXXXXXXX', 'This message will be sent later')

## Checking Sms balance
// successful response: {"balance":17707,"user":"Yaw Berko","country":"Ghana"}
$sms->balance();

## Check balance of a different a arkesel account account,
$sms->setApiKey('API_KEY_GOES_HERE')->balance();
```

Laravel
-------

[](#laravel)

If you're using laravel 5.5 and above, you can skip this step and continue at the examples. Add the following line of code to the **providers**' array in *config/app.php file*.

```
PatricPoba\Arkesel\ArkeselServiceProvider::class
```

Add the facade of this package to the aliases array in the *config/app.php file*.

```
 'ArkeselSms' => PatricPoba\Arkesel\ArkeselSmsFacade::class
```

### Usage Examples

[](#usage-examples)

```
# Setting API key in .env file
Before you can start sending sms you will need to set your api key and default sender ID in your /.env file
You can find your api key here `https://sms.arkesel.com/user/sms-api/info`
These config files can be changed  from the laravel application.

ARKESEL_SMS_SENDER_ID=MyApp
ARKESEL_SMS_API_KEY=YourKeyGoesHere

## Sending Sms

## Basic sending(uses api_key set in .env file)
 * successful response: {"code":"ok","message":"Successfully Send","balance":17706,"user":"Yaw Berko"}
 * error response: {"code":"102","message":"Authentication Failed"}
 * */

ArkeselSms::send('02XXXXXXXXX', 'Testing sms messaging');

## To use a different api key at runtime,
ArkeselSms::setApiKey('API_KEY_GOES_HERE')->send('02XXXXXXXX', 'Testing App');

## To customise sender Id (must not be more than 11 characters)
ArkeselSms::from('CompanyName')->send('02XXXXXXXX', 'Testing App');

## Sceduling (sending message at a later time)
// successful response: {"code":"109","message":"Invalid Schedule Time"}
// successful response: {"code":"ok","message":"SMS Scheduled successfully.","balance":17705,"user":"Yaw Berko"}

$dateTime ='04-05-2020 06:19 PM'; // Must be this format - "d-m-Y h:i A"
ArkeselSms::schedule($dateTime, '02XXXXXXXX', 'This message will be sent later')

## Checking Sms balance
// successful response: {"balance":17707,"user":"Yaw Berko","country":"Ghana"}

ArkeselSms::balance();

## Check balance of a different a arkesel account account,
ArkeselSms::setApiKey('API_KEY_GOES_HERE')->balance();
```

### Security

[](#security)

If you discover any security related issues, please me a message on [twitter](https://twitter.com/patricpoba) instead of using the issue tracker.

License
-------

[](#license)

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

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 100% 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 ~282 days

Total

5

Last Release

1077d ago

PHP version history (2 changes)v1.0.0PHP ^7.0

v1.0.4PHP ^7.0|^8.0

### Community

Maintainers

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

---

Top Contributors

[![patricpoba](https://avatars.githubusercontent.com/u/4930107?v=4)](https://github.com/patricpoba "patricpoba (13 commits)")

---

Tags

packagepatricpobaarkesel-sms

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/patricpoba-arkesel-php/health.svg)

```
[![Health](https://phpackages.com/badges/patricpoba-arkesel-php/health.svg)](https://phpackages.com/packages/patricpoba-arkesel-php)
```

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