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

ActiveLibrary

bluedot-bd/laravel-bulk-sms
===========================

'laravel-bulksms' is a Laravel package for integrating with an HTTP-based SMS gateway. The package is compatible with SMS providers in Bangladesh and other countries, and allows for the sending of notifications via Laravel notifications. It also includes a feature for checking the balance of an SMS account with a supported provider. This package can be useful for integrating SMS functionality into a Laravel-based application, sending sms messages to people, and keeping track of SMS usage and account balances.

1.0.6(1y ago)0160MITPHPPHP ^7.3|^8.0

Since Feb 19Pushed 1y ago1 watchersCompare

[ Source](https://github.com/bluedot-bd/laravel-bulksms)[ Packagist](https://packagist.org/packages/bluedot-bd/laravel-bulk-sms)[ Docs](https://github.com/bluedot-bd/laravel-bulksms)[ RSS](/packages/bluedot-bd-laravel-bulk-sms/feed)WikiDiscussions main Synced 2d ago

READMEChangelog (2)Dependencies (3)Versions (8)Used By (0)

Very short description of the package
=====================================

[](#very-short-description-of-the-package)

[![Latest Version on Packagist](https://camo.githubusercontent.com/f236520e4164364ab2a8f9ba7ed6e65a09e3d998774ff115aa2a065114af8b30/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f626c7565646f742d62642f6c61726176656c2d62756c6b2d736d732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/bluedot-bd/bluedot-bd/laravel-bulk-sms)[![Total Downloads](https://camo.githubusercontent.com/3314306b0771eb36dc5d57a145d27038ae63efaeb69d6e6ac281f6930d1f985d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f626c7565646f742d62642f6c61726176656c2d62756c6b2d736d732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/bluedot-bd/laravel-bulk-sms)[![GitHub Actions](https://github.com/bluedot-bd/laravel-bulksms/actions/workflows/main.yml/badge.svg)](https://github.com/bluedot-bd/laravel-bulksms/actions/workflows/main.yml/badge.svg)

*"laravel-bulksms"* is a Laravel package for integrating with any HTTP-based SMS gateway. The package is compatible with SMS providers in Bangladesh and other countries, and allows for the sending of notifications via Laravel notifications. It also includes a feature for checking the balance of an SMS account with a supported provider. This package can be useful for integrating SMS functionality into a Laravel-based application, sending sms messages to people, and keeping track of SMS usage and account balances.

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

[](#installation)

You can install the package via composer:

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

Usage
-----

[](#usage)

Check and Save Config

```
use LaravelBulksms;
$sms = new LaravelBulksms(); // config name not needed
$params = [
    'api_mode'         => 'dry', // dry/live
    'send_method'      => 'GET', // GET/POST
    'send_url'         => '',
    'send_header'      => '', // Comma separated header
    'send_success'     => '', // valid regex or empty (without delimiter)
    'send_error'       => '', // valid regex or empty (without delimiter)
    'balance_url'      => '',
    'balance_method'   => '', // GET/POST
    'balance_header'   => '', // Comma separated header
    'balance_key'      => '', // json object key
];
$config = 'smsdone'; // any name you want, this will be your config file name
$url = ''; // your api url with all params
try {
    $sms->checkAndSave($params, $url, $config);
} catch (Exception $e) {
    // Get Error from Exception
    // If you get this error, create a issue with your api url (please remove any api key or password)
}
```

You can use it in Notification (for sending sms):

```
use LaravelBulksms;
use BluedotBd\LaravelBulksms\SmsChannel;

public function via($notifiable)
{
    return [SmsChannel::class];
}

/**
 * Get the sms representation of the notification.
 *
 * @param  mixed  $notifiable
 */
public function toSms($notifiable)
{
    return (new LaravelBulksms("config_file_name"))
        ->to()
        ->line();
}
```

or you can use it directly:

```
use LaravelBulksms;
$sms = new LaravelBulksms("config_file_name");
try {
    $sms->to('01xxxx')->message('Your SMS Text')->send();
} catch (Exception $e) {
    // SMS Sending Error
}
```

or Send SMS useing Laravel Queued Jobs

```
dispatch(new BluedotBd\LaravelBulksms\Jobs\SendSMS($config,$number, $message));
// or
dispatch((new BluedotBd\LaravelBulksms\Jobs\SendSMS($config,$number, $message))->onQueue('high'));
// or
dispatch((new BluedotBd\LaravelBulksms\Jobs\SendSMS($config,$number, $message))->delay(60));
```

Get Balance if Supported

```
use LaravelBulksms;
$sms = new LaravelBulksms("config_file_name");
$sms->balance(); // returns float
```

### Testing

[](#testing)

```
composer test
```

### Changelog

[](#changelog)

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

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

[](#contributing)

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

### Security

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Shaiful Islam](https://github.com/bluedot-bd)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

Laravel Package Boilerplate
---------------------------

[](#laravel-package-boilerplate)

This package was generated using the [Laravel Package Boilerplate](https://laravelpackageboilerplate.com).

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance41

Moderate activity, may be stable

Popularity13

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity55

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

Every ~115 days

Recently: every ~171 days

Total

7

Last Release

485d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/83ecd8b30346a2ccad38e5148b0526f0e391a273719e3bcbd55e2a1743726814?d=identicon)[saaiful](/maintainers/saaiful)

---

Top Contributors

[![saaiful](https://avatars.githubusercontent.com/u/4525049?v=4)](https://github.com/saaiful "saaiful (10 commits)")

---

Tags

laravel-bulksmslaravel-bulksmsbdbluedot-bd

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[fumeapp/modeltyper

Generate TypeScript interfaces from Laravel Models

196277.9k](/packages/fumeapp-modeltyper)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

255.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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