njenga55/service-provider

This packge will help identify the different service provider for each phone number in kenya

1.1 2022-02-04 20:38 UTC

This package is auto-updated.

Last update: 2025-06-05 03:30:00 UTC


README

This package is intended to help developers operating in the Kenyan space to identify mobile specific service providers in order to run specific provider operations, e.g., Requesting or sending money to a mobile provider via a specific service provider API or even sending SMS via specific gateway.

installation:

installation via composer.

  composer require njenga55/service-provider

Usage:

Laravel

  use Njenga55\ServiceProvider\Facades\MobileProvider;

  MobileProvider::getProvider($phoneNumber)

This will return either of the following providers and null if none is found.

  • Safaricom
  • Airtel
  • Equitel
  • Eferio
  • Mobile Pay
  • Sema Mobile
  • Telkom

Licence:

MIT