PHPackages                             samuelmwangiw/africastalking-laravel - 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. samuelmwangiw/africastalking-laravel

ActiveLibrary[API Development](/categories/api)

samuelmwangiw/africastalking-laravel
====================================

This is my package africastalking-laravel

v2.4.0(1mo ago)616.9k↓10.5%2[2 issues](https://github.com/SamuelMwangiW/africastalking-laravel/issues)MITPHPPHP ^8.3CI passing

Since Mar 10Pushed 1mo ago2 watchersCompare

[ Source](https://github.com/SamuelMwangiW/africastalking-laravel)[ Packagist](https://packagist.org/packages/samuelmwangiw/africastalking-laravel)[ Docs](https://github.com/samuelmwangiw/africastalking-laravel)[ GitHub Sponsors](https://github.com/SamuelMwangiW)[ RSS](/packages/samuelmwangiw-africastalking-laravel/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (24)Versions (62)Used By (0)

africastalking-laravel
======================

[](#africastalking-laravel)

[![Latest Version on Packagist](https://camo.githubusercontent.com/44a928e806fb4a2dbd984a41e330b95f6c9796a23370d4d020cdabd6229ae1fa/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f73616d75656c6d77616e6769772f6166726963617374616c6b696e672d6c61726176656c2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/samuelmwangiw/africastalking-laravel)[![run-tests](https://github.com/SamuelMwangiW/africastalking-laravel/actions/workflows/run-tests.yml/badge.svg)](https://github.com/SamuelMwangiW/africastalking-laravel/actions/workflows/run-tests.yml)[![PHPStan](https://github.com/SamuelMwangiW/africastalking-laravel/actions/workflows/phpstan.yml/badge.svg)](https://github.com/SamuelMwangiW/africastalking-laravel/actions/workflows/phpstan.yml)[![Code styling](https://github.com/SamuelMwangiW/africastalking-laravel/actions/workflows/php-cs-fixer.yml/badge.svg)](https://github.com/SamuelMwangiW/africastalking-laravel/actions/workflows/php-cs-fixer.yml)[![Total Downloads](https://camo.githubusercontent.com/31177794f14dc48c0cdb2531a3c32d9b0d0d8b8e1f15e85ed97268e25c7050fb/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f73616d75656c6d77616e6769772f6166726963617374616c6b696e672d6c61726176656c2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/samuelmwangiw/africastalking-laravel)

This is an unofficial Laravel SDK for interacting with [Africa's Talking](https://developers.africastalking.com/docs/sms/overview) APIs that takes advantage of native Laravel components such as

- [HTTP Client](https://laravel.com/docs/9.x/http-client#main-content) in place of Guzzle client
- [Service Container](https://laravel.com/docs/9.x/container#main-content) for a great dev experience
- [Notifications](https://laravel.com/docs/9.x/notifications) to allow you route notifications via Africastalking
- [Config](https://laravel.com/docs/9.x/configuration#main-content)
- [Collections](https://laravel.com/docs/9.x/collections#main-content)
- Among many others

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

[](#installation)

You can install the package via composer:

```
composer require samuelmwangiw/africastalking-laravel
```

You can publish the config file with:

```
php artisan vendor:publish --tag="africastalking-config"
```

This is the contents of the published config file:

```
return [
    'username' => env('AFRICASTALKING_USERNAME', 'sandbox'),
    'api-key' => env('AFRICASTALKING_API_KEY'),
    'sms' => [
        'from' => env('AFRICASTALKING_FROM'),
    ],
    'payment' => [
        'product-name' => env('AFRICASTALKING_PAYMENT_PRODUCT'),
    ],
    'voice' => [
        'from' => env('AFRICASTALKING_VOICE_PHONE_NUMBER'),
    ]
];
```

You should configure the package by setting the `env` variables in your `.env` file.

Documentations
--------------

[](#documentations)

The full documentation can be found at [Main Documentation](https://at-laravel-docs.pages.dev/) site.

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](.github/CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [Samuel Mwangi](https://github.com/SamuelMwangiW)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

56

—

FairBetter than 98% of packages

Maintenance83

Actively maintained with recent releases

Popularity33

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity78

Established project with proven stability

 Bus Factor1

Top contributor holds 75.1% 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 ~26 days

Recently: every ~40 days

Total

57

Last Release

54d ago

Major Versions

v0.4.6 → v1.0.02023-06-19

v1.10.0 → v2.0.02025-10-14

PHP version history (4 changes)v0.0.1PHP ^8.0

v0.1.1PHP ^8.1

v1.6.0PHP ^8.2

v1.10.0PHP ^8.3

### Community

Maintainers

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

---

Top Contributors

[![SamuelMwangiW](https://avatars.githubusercontent.com/u/1807304?v=4)](https://github.com/SamuelMwangiW "SamuelMwangiW (378 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (67 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (48 commits)")[![njoguamos](https://avatars.githubusercontent.com/u/29255728?v=4)](https://github.com/njoguamos "njoguamos (10 commits)")

---

Tags

laravelSamuelMwangiWafricastalking-laravel

###  Code Quality

TestsPest

Static AnalysisPHPStan

### Embed Badge

![Health badge](/badges/samuelmwangiw-africastalking-laravel/health.svg)

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

###  Alternatives

[scalar/laravel

Render your OpenAPI-based API reference

6183.9k2](/packages/scalar-laravel)[njoguamos/laravel-plausible

A laravel package for interacting with plausible analytics api.

208.8k](/packages/njoguamos-laravel-plausible)[ryangjchandler/bearer

Minimalistic token-based authentication for Laravel API endpoints.

8129.8k](/packages/ryangjchandler-bearer)[codebar-ag/laravel-docuware

DocuWare integration with Laravel

1221.1k](/packages/codebar-ag-laravel-docuware)[combindma/laravel-facebook-pixel

Meta pixel integration for Laravel

4956.9k](/packages/combindma-laravel-facebook-pixel)[stechstudio/laravel-hubspot

A Laravel SDK for the HubSpot CRM Api

2971.0k](/packages/stechstudio-laravel-hubspot)

PHPackages © 2026

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