PHPackages                             yvesniyo/intouch-sms - 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. yvesniyo/intouch-sms

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

yvesniyo/intouch-sms
====================

This is a php library to help developers include sms service, with IntouchSms gateway from RWANDA

v5.0(5y ago)484UnlicensePHPPHP ^7.4

Since Mar 8Pushed 5y ago1 watchersCompare

[ Source](https://github.com/yvesniyo/intouch-sms)[ Packagist](https://packagist.org/packages/yvesniyo/intouch-sms)[ RSS](/packages/yvesniyo-intouch-sms/feed)WikiDiscussions main Synced yesterday

READMEChangelog (6)Dependencies (16)Versions (7)Used By (0)

yvesniyo/intouch-sms
====================

[](#yvesniyointouch-sms)

[![Source Code](https://camo.githubusercontent.com/4cd6bfef9974f3a3f77d2b2ce01ef0c4766ea1d81cbb39abd13516faec876c42/687474703a2f2f696d672e736869656c64732e696f2f62616467652f736f757263652d797665736e69796f2f696e746f7563682d736d732d626c75652e7376673f7374796c653d666c61742d737175617265)](https://github.com/yvesniyo/intouch-sms)[![Latest Version](https://camo.githubusercontent.com/e8f876fdf3925c465766cac9975fed05f72bb3b6a30537074890395cfdc4f86b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f797665736e69796f2f696e746f7563682d736d732e7376673f7374796c653d666c61742d737175617265266c6162656c3d72656c65617365)](https://packagist.org/packages/yvesniyo/intouch-sms)[![Software License](https://camo.githubusercontent.com/5447209eac08e2661b5ead55440e1dcda6e5585e0308cb314ffb9d1bf4fa09d8/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f797665736e69796f2f696e746f7563682d736d732e7376673f7374796c653d666c61742d737175617265)](https://github.com/yvesniyo/intouch-sms/blob/master/LICENSE)[![PHP Version](https://camo.githubusercontent.com/6c2ed5f244b9e3d7430783ebf8ab2ce8284486014d45b08f242d9d80810e4b8f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f797665736e69796f2f696e746f7563682d736d732e7376673f7374796c653d666c61742d737175617265)](https://php.net)[![Build Status](https://camo.githubusercontent.com/f8ea7d9d42baa6751f0a5cd9397cd5d84106340989fe10b8bc1745ae1368a2bd/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f797665736e69796f2f696e746f7563682d736d732f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/yvesniyo/intouch-sms)[![Coverage Status](https://camo.githubusercontent.com/e76c3d9d48b909de4ed4c6ac71921a7eea44736d50950a9bf6fcf3b3d5f974c4/68747470733a2f2f696d672e736869656c64732e696f2f636f766572616c6c732f6769746875622f797665736e69796f2f696e746f7563682d736d732f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://coveralls.io/r/yvesniyo/intouch-sms?branch=master)[![Total Downloads](https://camo.githubusercontent.com/c31becbde63b506b09c9222de1309128e018410f07f67a28db1131f8899fa627/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f797665736e69796f2f696e746f7563682d736d732e7376673f7374796c653d666c61742d73717561726526636f6c6f72423d6d656469756d76696f6c6574726564)](https://packagist.org/packages/yvesniyo/intouch-sms)

This is a php library to help developers include sms service, with IntouchSms gateway from RWANDA

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

[](#installation)

Install this package as a dependency using [Composer](https://getcomposer.org).

```
composer require yvesniyo/intouch-sms
```

Usage
-----

[](#usage)

This is the documantion

```
use Yvesniyo\IntouchSms\SmsSimple;

/** @var \Yvesniyo\IntouchSms\SmsSimple */
$sms = new SmsSimple();
$sms->recipients(["250780588642","0720710379"])
    ->message("Hello world")
    ->sender("intouchSenderId")
    ->username("intouchUsername")
    ->password("intouchPassword")
    ->apiUrl("www.intouchsms.co.rw/api/sendsms/.json")
    ->callBackUrl("");
print_r($sms->send());
```

That code works well, however it does call some static parameters such as senderId,Username,Password,ApiUrl and CallbackUrl. we can solve this by creating another class Called Sms which extends SmsAbstract

```
class Sms extends SmsAbstract
{
    public function __construct()
    {
        parent::__construct();

        //
    }

    public function configSender(): string
    {
        return "intouchSenderId";
    }

    public function configUsername(): string
    {
        return "intouchUsername";
    }

    public function configPassword(): string
    {
        return "intouchPassword";
    }

    public function configApiUrl(): string
    {
        return "www.intouchsms.co.rw/api/sendsms/.json";
    }

    public function configCallBackUrl(): string
    {
        return "";
    }

    public static function QuickSend($recipients, String $message, String $senderId = null)
    {
        $sms = new Sms();
        $sms->requiredData($recipients, $message, $senderId);
        return $sms->send();
    }
}
```

After creating this class you can now use simple codes like

```
$sms = new Sms();
// first parameter is recipients and second one is message
$sms->requiredData(["250780588642","0720710379"], "wassup");
print_r($sms->send());
```

NB: For some people who are not using composer remember to add:

```
include_once("../vendor/autoload.php");
```

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

[](#contributing)

Contributions are welcome! Before contributing to this project, familiarize yourself with [CONTRIBUTING.md](CONTRIBUTING.md).

To develop this project, you will need [PHP](https://www.php.net) 7.4 or greater, [Composer](https://getcomposer.org),

After cloning this repository locally, execute the following commands:

```
cd /path/to/repository
composer install
```

Now, you are ready to develop!

Copyright and License
---------------------

[](#copyright-and-license)

The yvesniyo/intouch-sms library is free and unencumbered software released into the public domain. Please see [UNLICENSE](UNLICENSE) for more information.

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity57

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.

###  Release Activity

Cadence

Every ~5 days

Total

6

Last Release

1868d ago

Major Versions

v1.0 → v2.02021-03-08

v2.0 → v3.12021-03-31

v3.1 → v4.02021-03-31

v4.0 → v5.02021-03-31

### Community

Maintainers

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

---

Top Contributors

[![yvesniyo](https://avatars.githubusercontent.com/u/30476986?v=4)](https://github.com/yvesniyo "yvesniyo (9 commits)")

---

Tags

phplibrarysmsrwandaintouch

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan, Psalm

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/yvesniyo-intouch-sms/health.svg)

```
[![Health](https://phpackages.com/badges/yvesniyo-intouch-sms/health.svg)](https://phpackages.com/packages/yvesniyo-intouch-sms)
```

###  Alternatives

[tzsk/sms

A robust and unified SMS gateway integration package for Laravel, supporting multiple providers.

320244.3k6](/packages/tzsk-sms)[ferdous/laravel-otp-validate

Laravel package for OTP validation with built-in features like retry and resend mechanism. Built in max retry and max resend blocking. OTP/Security Code can be send over SMS or Email of your choice with user-defined template.

7124.4k](/packages/ferdous-laravel-otp-validate)[djunehor/laravel-sms

Send SMS from your laravel application

385.3k1](/packages/djunehor-laravel-sms)

PHPackages © 2026

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