PHPackages                             sagordev/powersms-gateway - 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. sagordev/powersms-gateway

ActiveLibrary

sagordev/powersms-gateway
=========================

A php package for BanglaPhone Power SMS

v1.0.0(3y ago)661MITPHP

Since Aug 21Pushed 2y ago2 watchersCompare

[ Source](https://github.com/sagordev/powersms-gateway)[ Packagist](https://packagist.org/packages/sagordev/powersms-gateway)[ RSS](/packages/sagordev-powersms-gateway/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

PowerSMS Gateway PHP Package
============================

[](#powersms-gateway-php-package)

The PowerSMS Gateway PHP Package allows you to easily send bulk SMS messages using the [Power SMS](https://www.powersms.net.bd/) service provided by [Banglaphone Limited](https://www.banglaphone.net.bd/). This package is compatible with both Laravel and raw PHP applications, making it versatile for various use cases.

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

[](#installation)

You can install this package via Composer:

```
composer require sagordev/powersms-gateway

```

Laravel Integration
-------------------

[](#laravel-integration)

For Laravel integration, follow these additional steps:

Publish the package configuration file:

```
 php artisan vendor:publish --provider="Sagordev\PowersmsGateway\Providers\PowerSmsGatewayServiceProvider"

```

This will publish the configuration file to `config/powersms.php`

Add your Power SMS API credentials and configure other settings in the `config/powersms.php` file:

```
return [
    'user_id' => 'YOUR_USER_ID',
    'password' => 'YOUR_PASSWORD',
    'url' => '' // You can keep it blank
];
```

Usage
-----

[](#usage)

### Sending SMS

[](#sending-sms)

```
use Sagordev\PowersmsGateway\Facades\PowerSms;

PowerSms::message('This is a test SMS', '01234567890')->send();
// You can also send list of numbers (ex: ['01234567890', '01234567891'])
```

### Sending Same SMS to multiple recipients

[](#sending-same-sms-to-multiple-recipients)

```
PowerSms::message('This is test SMS')
        ->to(['01234567890', '01234567891'])
        ->send();
```

### Add your number(s) in cc to get a carbon copy of message

[](#add-your-numbers-in-cc-to-get-a-carbon-copy-of-message)

```
PowerSms::message('I am SMS with carbon copy to developer')
        ->to(['01234567890', '01234567891'])
        ->cc(['01234567892'])
        ->send();
```

### Another way to send single SMS to multiple recipients

[](#another-way-to-send-single-sms-to-multiple-recipients)

```
PowerSms::send([
    'message' => 'Hey, This is another SMS',
    'to' => ['01234567890', '01234567891'],
]);
```

Send Multiple messages to multiple different recipients
-------------------------------------------------------

[](#send-multiple-messages-to-multiple-different-recipients)

```
PowerSms::send([
      [
          'message' => 'Dear Customer, Your invitation code is #3310',
          'to' => ['01234567890', '01234567891'],
      ],
      [
          'message' => 'Dear Customer, Your invitation code is #0950',
          'to' => '01234567892',
      ]
]);
```

In your other PHP project
-------------------------

[](#in-your-other-php-project)

```
use Sagordev\PowersmsGateway\PowerSms;

$config = [
    'user_id' => 'YOUR_USER_ID',
    'password' => 'YOUR_PASSWORD',
    'url' => '' // You can keep it blank
];

$sms = new PowerSms($config);
$sms->message('Hello', '01234567890')->send();

// Example 2
$sms->message('I am SMS with carbon copy to developer')
        ->to(['01234567890', '01234567891'])
        ->cc(['01234567892'])
        ->send();
// Please look at the previous examples for more fun
```

Support and Issues
==================

[](#support-and-issues)

If you encounter any issues or have questions about using this package, please feel free to create an issue on the [GitHub repository](https://github.com/sagordev/banglaphone-powersms-php/issues). I am here to help!

License
=======

[](#license)

This package is open-sourced software licensed under the MIT License.

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity47

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

Unknown

Total

1

Last Release

1364d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1a553eeb876980dab325b25f84602b59adbf89d964bc3d2f981db03670592a30?d=identicon)[sagordev](/maintainers/sagordev)

---

Top Contributors

[![sagordev](https://avatars.githubusercontent.com/u/52909107?v=4)](https://github.com/sagordev "sagordev (7 commits)")

---

Tags

banglaphonepowersmssmsPower SMSpowersmsbanglaphonecommlinkbulk sms bangladeshphp powersms

### Embed Badge

![Health badge](/badges/sagordev-powersms-gateway/health.svg)

```
[![Health](https://phpackages.com/badges/sagordev-powersms-gateway/health.svg)](https://phpackages.com/packages/sagordev-powersms-gateway)
```

###  Alternatives

[tzsk/sms

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

320244.3k6](/packages/tzsk-sms)[plivo/plivo-php

A PHP SDK to make voice calls &amp; send SMS using Plivo and to generate Plivo XML

1102.8M18](/packages/plivo-plivo-php)[ellaisys/aws-cognito

AWS Cognito package that allows Auth and other related features using the AWS SDK for PHP

120220.7k1](/packages/ellaisys-aws-cognito)[plivo/php-sdk

A PHP SDK to make voice calls &amp; send SMS using Plivo and to generate Plivo XML

1101.9M5](/packages/plivo-php-sdk)[infobip/infobip-api-php-client

PHP library for consuming Infobip's API

921.8M10](/packages/infobip-infobip-api-php-client)[africastalking/africastalking

Official Africa's Talking PHP SDK

122557.6k10](/packages/africastalking-africastalking)

PHPackages © 2026

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