PHPackages                             nanopkg/laravel-bulk-sms-bd - 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. nanopkg/laravel-bulk-sms-bd

Abandoned → [https://github.com/DevWizardHQ/laravel-textify](/?search=https%3A%2F%2Fgithub.com%2FDevWizardHQ%2Flaravel-textify)ArchivedLibrary

nanopkg/laravel-bulk-sms-bd
===========================

With this package you can easily integrate bulk sms system in your project with bulksmsbd.com API of Bangladesh.

3.1.2(1y ago)5303[3 PRs](https://github.com/nanopkg/laravel-bulk-sms-bd/pulls)MITPHPPHP ^8.1CI passing

Since Jan 9Pushed 9mo agoCompare

[ Source](https://github.com/nanopkg/laravel-bulk-sms-bd)[ Packagist](https://packagist.org/packages/nanopkg/laravel-bulk-sms-bd)[ Docs](https://github.com/nanopkg/laravel-bulk-sms-bd)[ RSS](/packages/nanopkg-laravel-bulk-sms-bd/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (8)Dependencies (13)Versions (12)Used By (0)

🚨 Laravel Bulk SMS BD (Deprecated)
==================================

[](#-laravel-bulk-sms-bd-deprecated)

**⚠️ This package (`nanopkg/laravel-bulk-sms-bd`) is no longer maintained.**
For all new projects, we **strongly recommend** migrating to **[`DevWizardHQ/laravel‑textify`](https://github.com/DevWizardHQ/laravel-textify)**, a more modern, well‑supported Laravel SMS package.

---

laravel-bulk-sms-bd
===================

[](#laravel-bulk-sms-bd)

With this package you can easily integrate bulk sms system in your project with bulksmsbd.com API of Bangladesh.

[![Latest Version on Packagist](https://camo.githubusercontent.com/ef6a418cc4a6de6d00b744d70c49006d2df7c30178ddcab7f7be34c81385fe1f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6e616e6f706b672f6c61726176656c2d62756c6b2d736d732d62642e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/nanopkg/laravel-bulk-sms-bd)[![Issues](https://camo.githubusercontent.com/8d1b5e030550d8076a19bd6b2cb1514935101291ea4f91453a11a540372fc565/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732f6e616e6f706b672f6c61726176656c2d62756c6b2d736d732d62642e7376673f7374796c653d666c61742d737175617265)](https://github.com/nanopkg/laravel-bulk-sms-bd/issues)[![GitHub Tests Action Status](https://camo.githubusercontent.com/c3a8178219f3b9a19b8385e876bd7cbf6941fb26a1b0454e97124750a82145af/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6e616e6f706b672f6c61726176656c2d62756c6b2d736d732d62642f72756e2d74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/nanopkg/laravel-bulk-sms-bd/actions?query=workflow%3Arun-tests+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/11221b0f988f58ca12cbc08861e3eaf6ffb5bafa935037879acb61d7332189a5/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6e616e6f706b672f6c61726176656c2d62756c6b2d736d732d62642e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/nanopkg/laravel-bulk-sms-bd)[![License](https://camo.githubusercontent.com/651eb3b69110bd95715614479cb883088b9c646c73ef0556c47855b75fe13ddd/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6e616e6f706b672f6c61726176656c2d62756c6b2d736d732d62642e7376673f7374796c653d666c61742d737175617265)](https://github.com/nanopkg/laravel-bulk-sms-bd/blob/master/LICENSE.md)

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

[](#installation)

You can install the package via composer:

```
composer require nanopkg/laravel-bulk-sms-bd
```

You can publish the config file with:

```
php artisan vendor:publish --tag="bulk-sms-bd-config"
```

This is the contents of the published config file:

```
return [
     /*
    |--------------------------------------------------------------------------
    | Laravel Bulk SMS BD  Mode of sending sms
    |--------------------------------------------------------------------------
    |
    | This value is the mode of your laravel-bulk-sms-bd api integration.
    | log: for testing purpose
    | live: for live sms sending
    |
    */
    'mode' => env('BULK_SMS_BD_MODE', 'log'),

    /*
    |--------------------------------------------------------------------------
    | Laravel Bulk SMS BD Api Key
    |--------------------------------------------------------------------------
    |
    | This value is the api key of your laravel-bulk-sms-bd api integration.
    |
    */

    'api_key' => env('BULK_SMS_BD_API_KEY', ''),

    /*
    |--------------------------------------------------------------------------
    | Laravel Bulk SMS BD Sender ID
    |--------------------------------------------------------------------------
    |
    | This value is the Sender ID of your laravel-bulk-sms-bd api integration.
    |
    */

    'sender_id' => env('BULK_SMS_BD_SENDER_ID', ''),

    /*
    |--------------------------------------------------------------------------
    | Laravel Bulk SMS BD Api Url
    |--------------------------------------------------------------------------
    |
    | This value is the Api Url of your laravel-bulk-sms-bd api integration.
    |
    */

    'base_uri' => env('BULK_SMS_BD_API_URL', 'https://bulksmsbd.net/api/'),

    /*
    |--------------------------------------------------------------------------
    | Laravel Bulk SMS BD Api Url SSL VERIFY
    |--------------------------------------------------------------------------
    |
    | This value is the Api Url SSL verify of your laravel-bulk-sms-bd api integration.
    |
    */

    'verify' => env('BULK_SMS_BD_API_URL_VERIFY', false),

    /*
    |--------------------------------------------------------------------------
    | Laravel Bulk SMS BD  Log
    |--------------------------------------------------------------------------
    |
    | This value is the log  of your laravel-bulk-sms-bd api integration.
    |
    */
    'log' => [
        'driver' => env('BULK_SMS_BD_LOG_DRIVER', 'single'),
        'path' => env('BULK_SMS_BD_LOG_PATH', storage_path('logs/laravel-bulk-sms-bd-log.log')),
    ],

    /*
    |--------------------------------------------------------------------------
    | Laravel Bulk SMS BD  Notification Keys
    |--------------------------------------------------------------------------
    |
    | This value is the Notification Keys of your laravel-bulk-sms-bd api integration.
    |
    */
    'notification' => [
        // define your custom notification key for  message
        'message' => 'message',
        // define your custom notification key for mobile number
        'contacts' => 'to',
    ],
];
```

Add the following items to your .env file

```
// This value is the mode of your laravel-bulk-sms-bd api integration. | log: for testing purpose | live: for live sms sending
BULK_SMS_BD_MODE='log'

// This value is the api key of your laravel-bulk-sms-bd api integration.
BULK_SMS_BD_API_KEY=''

// This value is the Sender ID of your laravel-bulk-sms-bd api integration.
BULK_SMS_BD_SENDER_ID=''

// This value is the Api Url SSL verify of your laravel-bulk-sms-bd api integration.
BULK_SMS_BD_API_URL_VERIFY=false
```

Usage
-----

[](#usage)

---

### Get SMS Gateway Balance

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

Follow the below steps to get sms gateway balance

```
use Nanopkg\BulkSmsBd\Facades\BulkSmsBd;

// get gateway balance
$response = BulkSmsBd::getBalance();
return $response->balance;
```

---

### Send One To One SMS

[](#send-one-to-one-sms)

Follow the below steps to send one to one sms

```
use Nanopkg\BulkSmsBd\Facades\BulkSmsBd;

// send one to one sms
BulkSmsBd::oneToOne('017xxxxxxxx', 'আমার সোনার বাংলা, আমি তোমার ভালোবাসি।')->send();
```

If you want to send SMS by queue then follow below steps instead of above method.

```
use Nanopkg\BulkSmsBd\Jobs\BulkSmsBdOneToOne;

// send one to one sms
BulkSmsBdOneToOne::dispatch('017xxxxxxxx', 'আমার সোনার বাংলা, আমি তোমার ভালোবাসি।');
```

---

### Send One To Many SMS

[](#send-one-to-many-sms)

Follow the below steps to send one to Many sms

```
use Nanopkg\BulkSmsBd\Facades\BulkSmsBd;

//  Send one to many sms
BulkSmsBd::oneToMany(['017xxxxxxxx','018xxxxxxxx','019xxxxxxxx'], 'আমার সোনার বাংলা, আমি তোমার ভালোবাসি।')->send();
```

If you want to send SMS by queue then follow below steps instead of above method.

```
use Nanopkg\BulkSmsBd\Jobs\BulkSmsBdOneToMany;

//  Send one to many sms
BulkSmsBdOneToMany::dispatch(['017xxxxxxxx','018xxxxxxxx','019xxxxxxxx'], 'আমার সোনার বাংলা, আমি তোমার ভালোবাসি।');
```

---

### Send Many To Many SMS

[](#send-many-to-many-sms)

Follow the below steps to send Many to Many sms

```
use Nanopkg\BulkSmsBd\Facades\BulkSmsBd;

//  Send one to many sms
BulkSmsBd::manyToMany([
    [
        'to' => '017xxxxxxxx',
        'message' => 'আমার সোনার বাংলা।'
    ],
    [
        'to' => '018xxxxxxxx',
        'message' => 'আমি তোমার ভালোবাসি।'
    ],
])->send();
```

If you want to send SMS Many to Many by queue then follow below steps instead of above method.

```
use Nanopkg\BulkSmsBd\Jobs\BulkSmsBdManyToMany;

//  Send one to many sms
BulkSmsBdManyToMany::dispatch([
     [
        'to' => '017xxxxxxxx',
        'message' => 'আমার সোনার বাংলা।'
    ],
    [
        'to' => '018xxxxxxxx',
        'message' => 'আমি তোমার ভালোবাসি।'
    ]
]);
```

---

### Send SMS Via Notification

[](#send-sms-via-notification)

Follow the below steps to send Many to Many sms

```
use Nanopkg\BulkSmsBd\Broadcasting\BulkSmsBdChannel;

/**
* Get the notification's delivery channels.
*
* @param  mixed  $notifiable
* @return array
*/
public function via($notifiable)
{
    return [BulkSmsBdChannel::class];
}

/**
* Get the BulkSmsBd representation of the notification.
* @param  mixed  $notifiable
* @return array
*/
public function toBulkSmsBd($notifiable)
{
    return [
        'message' => 'আমার সোনার বাংলা, আমি তোমায় ভালোবাসি',
        'to' => $notifiable->phone,
    ];
}
```

If you want to customize Notification representation key then open bulksmsbd config file and modify notification message and contacts value.

```
'notification' => [
    // define your custom notification key for  message
    'message' => 'message',
    // define your custom notification key for mobile number
    'contacts' => 'to',
],
```

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [IQBAL HASAN](https://github.com/iqbalhasandev)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

36

—

LowBetter than 82% of packages

Maintenance48

Moderate activity, may be stable

Popularity14

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 50% 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 ~91 days

Recently: every ~160 days

Total

8

Last Release

580d ago

Major Versions

1.0.2 → 2.0.02023-01-09

2.0.0 → 3.0.02024-10-09

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/39612205?v=4)[IQBAL HASAN](/maintainers/iqbalhasandev)[@iqbalhasandev](https://github.com/iqbalhasandev)

---

Top Contributors

[![iqbalhasandev](https://avatars.githubusercontent.com/u/39612205?v=4)](https://github.com/iqbalhasandev "iqbalhasandev (30 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (13 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (9 commits)")[![shazeedul](https://avatars.githubusercontent.com/u/85868041?v=4)](https://github.com/shazeedul "shazeedul (7 commits)")[![LikeAshraful](https://avatars.githubusercontent.com/u/5829507?v=4)](https://github.com/LikeAshraful "LikeAshraful (1 commits)")

---

Tags

bulksmsbulksmsbdlaravel-bulk-sms-bdlaravel-bulksmslaravel-bulksmsbdlaravel-packagelaravel-pluginlaravel-sms-gatewaypluginsms-apipluginlaravelpackagelibrarylaravel-packagelaravel-pluginsms apilaravel sms gatewaybulksmsbulksmsbdnanopkglaravel-bulksmslaravel-bulksmsbdlaravel-bulk-sms-bdlaravel-sms-gateway-intregation

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StyleLaravel Pint

Type Coverage Yes

### Embed Badge

![Health badge](/badges/nanopkg-laravel-bulk-sms-bd/health.svg)

```
[![Health](https://phpackages.com/badges/nanopkg-laravel-bulk-sms-bd/health.svg)](https://phpackages.com/packages/nanopkg-laravel-bulk-sms-bd)
```

###  Alternatives

[lab404/laravel-impersonate

Laravel Impersonate is a plugin that allows to you to authenticate as your users.

2.3k16.4M48](/packages/lab404-laravel-impersonate)[spatie/laravel-health

Monitor the health of a Laravel application

85810.0M83](/packages/spatie-laravel-health)[lab404/laravel-auth-checker

Laravel Auth Checker allows you to log users authentication, devices authenticated from and lock intrusions.

223164.9k2](/packages/lab404-laravel-auth-checker)[rickycezar/laravel-jwt-impersonate

Laravel Impersonate is a plugin that allows to you to authenticate as your users.

24117.6k](/packages/rickycezar-laravel-jwt-impersonate)[vormkracht10/laravel-mails

Laravel Mails can collect everything you might want to track about the mails that has been sent by your Laravel app.

24149.7k](/packages/vormkracht10-laravel-mails)[muhammadhuzaifa/telescope-guzzle-watcher

Telescope Guzzle Watcher provide a custom watcher for intercepting http requests made via guzzlehttp/guzzle php library. The package uses the on\_stats request option for extracting the request/response data. The watcher intercept and log the request into the Laravel Telescope HTTP Client Watcher.

98239.8k1](/packages/muhammadhuzaifa-telescope-guzzle-watcher)

PHPackages © 2026

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