PHPackages                             lawrence615/atgate - 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. lawrence615/atgate

ActiveLibrary[API Development](/categories/api)

lawrence615/atgate
==================

This package interacts with the Africa's Taking API using their own PHP SDK.

052PHP

Since Jan 20Pushed 9y ago1 watchersCompare

[ Source](https://github.com/lawrence615/atgate)[ Packagist](https://packagist.org/packages/lawrence615/atgate)[ RSS](/packages/lawrence615-atgate/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (0)

Africa's Talking API Laravel Implementation
===========================================

[](#africas-talking-api-laravel-implementation)

[![Latest Stable Version](https://camo.githubusercontent.com/c78eba238eac14ee6ae2670fb24c4a95d5705b2760aab175336b2717c6623436/68747470733a2f2f706f7365722e707567782e6f72672f6c617772656e63653631352f6174676174652f762f737461626c65)](https://packagist.org/packages/lawrence615/atgate)[![Total Downloads](https://camo.githubusercontent.com/048a98fad33080dae388403090e6102e18abc0da00f117749dc9a760b951748a/68747470733a2f2f706f7365722e707567782e6f72672f6c617772656e63653631352f6174676174652f646f776e6c6f616473)](https://packagist.org/packages/lawrence615/atgate)[![Latest Unstable Version](https://camo.githubusercontent.com/68101fb85dcf6fa6a262fdf3cfd1da02c84eb50b5779bef1c2f7138725ac8419/68747470733a2f2f706f7365722e707567782e6f72672f6c617772656e63653631352f6174676174652f762f756e737461626c65)](https://packagist.org/packages/lawrence615/atgate)[![License](https://camo.githubusercontent.com/cf03b2e22e4aca20e3b6662f479122942f7ae1207ba3cca6dd737e62c9a82b49/68747470733a2f2f706f7365722e707567782e6f72672f6c617772656e63653631352f6174676174652f6c6963656e7365)](https://packagist.org/packages/lawrence615/atgate)

A simple Laravel package for making it easier to use the official [Africa's Talking PHP gateway](http://docs.africastalking.com/sms/sending/php) in your Laravel application.

Requirements
------------

[](#requirements)

- [PHP &gt;=5.6.0](http://php.net/)
- [Laravel 5.x](https://github.com/laravel/framework)

Quick Installation
------------------

[](#quick-installation)

**Install the Package Via Composer:**

```
$ composer require "lawrence615/atgate:dev-master"
```

**Add the Service Provider to your `config/app.php` file:**

```
 'providers' => [
    ...
    Mobidev\ATGate\ATGateServiceProvider::class,
    ...
 ]
```

**Add the Facade to your `config/app.php` file:**

```
    'aliases' => [
        ...
        'AfricaTGate' => Mobidev\ATGate\Facades\AfricaTGate::class,
        ...
    ]
```

**Publish configuration and assets**

`$ php artisan vendor:publish`

Configuration
-------------

[](#configuration)

The last step of installation, `$ php artisan vendor:publish`, creates a config file (atgate.php) in the config directory.

### Update AT credentials inside atgate.php

[](#update-at-credentials-inside-atgatephp)

Update both username and api\_key inside config/atgate.php.

You can generate the API Key [here](https://account.africastalking.com/settings/apikey). You will need to create an account first, username will be the one you create an account with.

Usage in Applications
---------------------

[](#usage-in-applications)

Import/use the facade in your controller

```
   use AfricaTGate;
```

- Default

```
   $response = AfricaTGate::sendSMS("0720XXXXXX", "Testing. Test SMS.");
```

- With Sender Id

```
   $response = AfricaTGate::from('Sender_Id')->sendSMS("0720XXXXXX", "Testing. Test SMS.");
```

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/22d2f02e66a717a41c2846ee042985dae000414b64c2c20d9ebc67845721d876?d=identicon)[lawrence615](/maintainers/lawrence615)

---

Top Contributors

[![lawrence615](https://avatars.githubusercontent.com/u/3224157?v=4)](https://github.com/lawrence615 "lawrence615 (55 commits)")

---

Tags

africastalkinglaravel-5-packagelaravel5php5sms

### Embed Badge

![Health badge](/badges/lawrence615-atgate/health.svg)

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

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35816.3M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24015.5M18](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172437.8k11](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

94452.6k6](/packages/botman-driver-telegram)

PHPackages © 2026

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