PHPackages                             razor-informatics/ri-notifier-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. [API Development](/categories/api)
4. /
5. razor-informatics/ri-notifier-php

ActiveLibrary[API Development](/categories/api)

razor-informatics/ri-notifier-php
=================================

Official PHP SDK for Razor Informatics Notifier Project

v0.1.3(2y ago)1124MITPHPPHP &gt;=7.1

Since Aug 18Pushed 2y ago1 watchersCompare

[ Source](https://github.com/razor-informatics/ri-notifier-php)[ Packagist](https://packagist.org/packages/razor-informatics/ri-notifier-php)[ RSS](/packages/razor-informatics-ri-notifier-php/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (4)Dependencies (1)Versions (5)Used By (0)

Razor Informatics Notifier PHP SDK
==================================

[](#razor-informatics-notifier-php-sdk)

> This SDK provides easier work with Razor Informatics Notifier API for applications written in PHP.

POSTMAN Collection
------------------

[](#postman-collection)

[![Run In Postman](https://camo.githubusercontent.com/82ccefddb001e2caf9d399f1153fdda561cf3da341bb270e18644d516906bc64/68747470733a2f2f72756e2e7073746d6e2e696f2f627574746f6e2e737667)](https://app.getpostman.com/run-collection/4421476-caefe8a2-77dc-4323-bd26-11f2df86946f?action=collection%2Ffork&source=rip_markdown&collection-url=entityId%3D4421476-caefe8a2-77dc-4323-bd26-11f2df86946f%26entityType%3Dcollection%26workspaceId%3D159f2a8d-aabb-46d7-a6e3-9912793cede7)

Documentation
-------------

[](#documentation)

To get the depth details of the api check [API docs here](https://notifier.razorinformatics.co.ke).

Install
-------

[](#install)

You can install the PHP SDK via composer or by downloading the source

#### Via Composer

[](#via-composer)

The recommended way to install the SDK is with [Composer](http://getcomposer.org/).

```
composer require razor-informatics/ri-notifier-php
```

Usage
-----

[](#usage)

The SDK needs to be instantiated using your API key, which you can get from the project settings [here](https://notifier.razorinformatics.co.ke/dashboard).

### Send Message Example

[](#send--message-example)

```
use RazorInformatics\RiNotifierPhp;

$apiKey  = 'YOUR_API_KEY';
$razor = new RiNotifierPhp\Notifier($apiKey);

$results = $razor->message()->send([
        'phone_number' => 0700XXXYYY,
        'message' => "Howdy welcome to the team"
]);

print_r($results);
```

### Fetch message Example

[](#fetch-message-example)

details of a previous sent message.

```
use RazorInformatics\RiNotifierPhp;

$apiKey  = 'YOUR_API_KEY';
$razor = new RiNotifierPhp\Notifier($apiKey);

$results = $razor->message()->fetchMessage('MESSAGE ID');

print_r($results);
```

### Get Account Details Example

[](#get-account-details-example)

The data available is project details &amp; current account balance

```
use RazorInformatics\RiNotifierPhp;

$apiKey  = 'YOUR_API_KEY';
$razor = new RiNotifierPhp\Notifier($apiKey);

$results = $razor->account()->getDetails();

print_r($results);
```

### Get Gateway Balance Example

[](#get-gateway-balance-example)

Get the account balance of gateway selected when available. Available gateways are

- Notifier (project balance)
- Celcom Africa
- Emreign
- Africa’s Talking
- Onfon Media
- Web SMS
- *more coming soon.*

```
use RazorInformatics\RiNotifierPhp;

$apiKey  = 'YOUR_API_KEY';
$razor = new RiNotifierPhp\Notifier($apiKey);

$results = $razor->gateway(Constants::GATEWAY_NOTIFIER)->details();

print_r($results);
```

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity35

Early-stage or recently created project

 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 ~193 days

Total

4

Last Release

788d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3d65061c6fd176471b3a830ef78354bbc82bfadcf9e4984fa8fd8db9db48745b?d=identicon)[mureithimaina](/maintainers/mureithimaina)

---

Top Contributors

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

---

Tags

notifierphpsdksms-apiapinotifiersmstext messagerazor informatics

### Embed Badge

![Health badge](/badges/razor-informatics-ri-notifier-php/health.svg)

```
[![Health](https://phpackages.com/badges/razor-informatics-ri-notifier-php/health.svg)](https://phpackages.com/packages/razor-informatics-ri-notifier-php)
```

###  Alternatives

[africastalking/africastalking

Official Africa's Talking PHP SDK

122557.6k10](/packages/africastalking-africastalking)[ardakilic/mutlucell

Mutlucell SMS API wrapper for sending sms text messages for Laravel

457.3k](/packages/ardakilic-mutlucell)[smsfactor/smsfactor-php-sdk

SMSFactor client library for PHP

15382.5k2](/packages/smsfactor-smsfactor-php-sdk)[unicodeveloper/jusibe-php-lib

Jusibe PHP Library

3417.4k1](/packages/unicodeveloper-jusibe-php-lib)[minchao/mitake-php

A Mitake SMS SDK for PHP (Unofficial)

347.8k1](/packages/minchao-mitake-php)

PHPackages © 2026

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