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

ActiveLibrary[API Development](/categories/api)

developifynet/telenor-php
=========================

Telenor Pakistan Corporate SMS API Wrapper for PHP

v2.0(3y ago)5224MITPHP &gt;=7.4|&gt;=8.0|&gt;=8.1

Since May 8Compare

[ Source](https://github.com/developifynet/telenor-php)[ Packagist](https://packagist.org/packages/developifynet/telenor-php)[ RSS](/packages/developifynet-telenor-php/feed)WikiDiscussions Synced 3d ago

READMEChangelog (4)Dependencies (4)Versions (6)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 developifynet/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

32

—

LowBetter than 69% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity72

Established project with proven stability

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

Total

4

Last Release

1392d ago

Major Versions

v1.0.2 → v2.02022-09-08

PHP version history (2 changes)v1.0.0PHP &gt;=5.4.0

v2.0PHP &gt;=7.4|&gt;=8.0|&gt;=8.1

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/3835897?v=4)[Pak-Loon Cheng](/maintainers/developify)[@developify](https://github.com/developify)

---

Tags

phpapisdktelenorcorporate sms

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[openai-php/laravel

OpenAI PHP for Laravel is a supercharged PHP API client that allows you to interact with the Open AI API

3.7k9.5M85](/packages/openai-php-laravel)[hubspot/api-client

Hubspot API client

24016.2M19](/packages/hubspot-api-client)[resend/resend-php

Resend PHP library.

617.2M38](/packages/resend-resend-php)[checkout/checkout-sdk-php

Checkout.com SDK for PHP

563.6M13](/packages/checkout-checkout-sdk-php)[resend/resend-laravel

Resend for Laravel

1222.7M8](/packages/resend-resend-laravel)[clicksend/clicksend-php

351.6M11](/packages/clicksend-clicksend-php)

PHPackages © 2026

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