PHPackages                             mudassar1/telenor-sms-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. mudassar1/telenor-sms-php

ActiveLibrary

mudassar1/telenor-sms-php
=========================

Telenor Pakistan Corporate SMS API Wrapper for PHP

01PHP

Since Sep 6Pushed 3y agoCompare

[ Source](https://github.com/mudassar1/telenor-sms-php)[ Packagist](https://packagist.org/packages/mudassar1/telenor-sms-php)[ RSS](/packages/mudassar1-telenor-sms-php/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Telenor Pakistan Corporate SMS API Wrapper for PHP
==================================================

[](#telenor-pakistan-corporate-sms-api-wrapper-for-php)

[![Build Status](https://camo.githubusercontent.com/c59043e0b28eab034f19dabc49c9222c43e3fbe5e0c6bc2837a5c0086132a211/68747470733a2f2f7472617669732d63692e6f72672f6c61726176656c2f6672616d65776f726b2e737667)](https://travis-ci.org/developifynet/telenor-php)[![Total Downloads](https://camo.githubusercontent.com/b01f3d435ab57e8466308eeeb6f4aafa30a09a377a0439205946880ec9bba297/68747470733a2f2f706f7365722e707567782e6f72672f646576656c6f706966796e65742f74656c656e6f722d7068702f642f746f74616c2e737667)](https://packagist.org/packages/developifynet/telenor-php)[![Latest Stable Version](https://camo.githubusercontent.com/03fe58d821c8d8f54281a1850a736beefc599ed2ad46a8dfadcc814046c0fff2/68747470733a2f2f706f7365722e707567782e6f72672f646576656c6f706966796e65742f74656c656e6f722d7068702f762f737461626c652e737667)](https://packagist.org/packages/developifynet/telenor-php)[![License](https://camo.githubusercontent.com/6883ea4fb8a72a366f335b08cb351b429ecb98d988ec45d0266d7d736306e981/68747470733a2f2f706f7365722e707567782e6f72672f646576656c6f706966796e65742f74656c656e6f722d7068702f6c6963656e73652e737667)](https://packagist.org/packages/developifynet/telenor-php)

This composer package offers a quick Telenor Corporate SMS setup for your Laravel applications.

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

[](#installation)

Begin by pulling in the package through Composer.

```
composer require mudassar1/telenor-sms-php
```

Laravel Framework Usage
-----------------------

[](#laravel-framework-usage)

Within your controllers, you can call Telenor facade and can send quick SMS.

##### For Single Number

[](#for-single-number)

```
use Developifynet\Telenor\Telenor;
public function index()
{
    $SMSObj = array(
        'username' => '',   // Usually this is mobile number
        'password' => '',   // User your password here
        'to' => '923XXXXXXXXX',                     // You can provide single number as string or an array of numbers
        'text' => '',        // Message string you want to send to provided number(s)
        'mask' => '',           // Use a registered mask with Telenor
        'test_mode' => '0',                         // 0 for Production, 1 for Mocking as Test
    );

    $response = Telenor::SendSMS($SMSObj);
}
```

##### For Multiple Numbers

[](#for-multiple-numbers)

```
use Developifynet\Telenor\Telenor;
public function index()
{
    $SMSObj = array(
        'username' => '',   // Usually this is mobile number
        'password' => '',   // User your password here
        'to' => ['923XXXXXXXXX', '923XXXXXXXXX'],   // You can provide single number as string or an array of numbers
        'text' => '',        // Message string you want to send to provided number(s)
        'mask' => '',           // Use a registered mask with Telenor
        'test_mode' => '0',                         // 0 for Production, 1 for Mocking as Test
    );

    $response = Telenor::SendSMS($SMSObj);
}
```

Other Usage
-----------

[](#other-usage)

Within your controllers, you can call TelenorSMS Object and can send quick SMS.

##### For Single Number

[](#for-single-number-1)

```
use \Developifynet\Telenor\TelenorSMS;
public function index()
{
    $SMSObj = array(
        'username' => '',   // Usually this is mobile number
        'password' => '',   // User your password here
        'to' => '923XXXXXXXXX',                     // You can provide single number as string or an array of numbers
        'text' => '',        // Message string you want to send to provided number(s)
        'mask' => '',           // Use a registered mask with Telenor
        'test_mode' => '0',                         // 0 for Production, 1 for Mocking as Test
    );

    $telenor = new TelenorSMS();
    $response = $telenor->SendSMS($SMSObj);
}
```

##### For Multiple Numbers

[](#for-multiple-numbers-1)

```
use \Developifynet\Telenor\TelenorSMS;
public function index()
{
    $SMSObj = array(
        'username' => '',   // Usually this is mobile number
        'password' => '',   // User your password here
        'to' => ['923XXXXXXXXX', '923XXXXXXXXX'],   // You can provide single number as string or an array of numbers
        'text' => '',        // Message string you want to send to provided number(s)
        'mask' => '',           // Use a registered mask with Telenor
        'test_mode' => '0',                         // 0 for Production, 1 for Mocking as Test
    );

    $telenor = new TelenorSMS();
    $response = $telenor->SendSMS($SMSObj);
}
```

### Note

[](#note)

Provided numbers should start with Country code. A Pakistani number you have to write down as 923XXXXXXXXX

###  Health Score

14

—

LowBetter than 2% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity1

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity24

Early-stage or recently created project

 Bus Factor1

Top contributor holds 72.7% 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/9f115a75cb2bcd6f2d49df470031598468f7171553c55911489a1ab00d90e5c0?d=identicon)[mudassar1](/maintainers/mudassar1)

---

Top Contributors

[![efficientbit](https://avatars.githubusercontent.com/u/3807256?v=4)](https://github.com/efficientbit "efficientbit (8 commits)")[![mudassar1](https://avatars.githubusercontent.com/u/32808751?v=4)](https://github.com/mudassar1 "mudassar1 (2 commits)")[![DevelopifySNS](https://avatars.githubusercontent.com/u/35734664?v=4)](https://github.com/DevelopifySNS "DevelopifySNS (1 commits)")

### Embed Badge

![Health badge](/badges/mudassar1-telenor-sms-php/health.svg)

```
[![Health](https://phpackages.com/badges/mudassar1-telenor-sms-php/health.svg)](https://phpackages.com/packages/mudassar1-telenor-sms-php)
```

PHPackages © 2026

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