PHPackages                             ankurk91/bandwidth-notification-channel - 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. [Mail &amp; Notifications](/categories/mail)
4. /
5. ankurk91/bandwidth-notification-channel

AbandonedArchivedLibrary[Mail &amp; Notifications](/categories/mail)

ankurk91/bandwidth-notification-channel
=======================================

Bandwidth SMS notification channel for Laravel php framework.

6.4.0(2y ago)122893MITPHPPHP ^8.2

Since Aug 17Pushed 2y ago1 watchersCompare

[ Source](https://github.com/ankurk91/bandwidth-notification-channel)[ Packagist](https://packagist.org/packages/ankurk91/bandwidth-notification-channel)[ Docs](https://github.com/ankurk91/bandwidth-notification-channel)[ RSS](/packages/ankurk91-bandwidth-notification-channel/feed)WikiDiscussions main Synced yesterday

READMEChangelog (4)Dependencies (8)Versions (36)Used By (0)

Bandwidth Notification Channel for Laravel
==========================================

[](#bandwidth-notification-channel-for-laravel)

[![Packagist](https://camo.githubusercontent.com/155685f57e84079ee86c1f73aa2d803e8b02a38037fecf85e7f091b75a3a78af/68747470733a2f2f62616467656e2e6e65742f7061636b61676973742f762f616e6b75726b39312f62616e6477696474682d6e6f74696669636174696f6e2d6368616e6e656c)](https://packagist.org/packages/ankurk91/bandwidth-notification-channel)[![GitHub tag](https://camo.githubusercontent.com/4c45af52b6b9b9965818e1de8fa4b4e49e619c20d8b6d4832bb6897f6bc94654/68747470733a2f2f62616467656e2e6e65742f6769746875622f7461672f616e6b75726b39312f62616e6477696474682d6e6f74696669636174696f6e2d6368616e6e656c)](https://github.com/ankurk91/bandwidth-notification-channel/tags)[![License](https://camo.githubusercontent.com/78555c304b773ba6c5a573718b0e93e6fbe1794efedc3b3ca944238d397f79e2/68747470733a2f2f62616467656e2e6e65742f7061636b61676973742f6c6963656e73652f616e6b75726b39312f62616e6477696474682d6e6f74696669636174696f6e2d6368616e6e656c)](LICENSE.txt)[![Downloads](https://camo.githubusercontent.com/ddeb9e67c43a339f0b53149cb69844e7d45344d01daf11b5ba57ddbb1907acb1/68747470733a2f2f62616467656e2e6e65742f7061636b61676973742f64742f616e6b75726b39312f62616e6477696474682d6e6f74696669636174696f6e2d6368616e6e656c)](https://packagist.org/packages/ankurk91/bandwidth-notification-channel/stats)[![tests](https://github.com/ankurk91/bandwidth-notification-channel/workflows/tests/badge.svg)](https://github.com/ankurk91/bandwidth-notification-channel/actions)[![codecov](https://camo.githubusercontent.com/e0c3e641849b0006a614d2c075f1196a725d5627e97efca03d39cd5af96e9f31/68747470733a2f2f636f6465636f762e696f2f67682f616e6b75726b39312f62616e6477696474682d6e6f74696669636174696f6e2d6368616e6e656c2f6272616e63682f6d61696e2f67726170682f62616467652e737667)](https://codecov.io/gh/ankurk91/bandwidth-notification-channel)

Send [Bandwidth](https://www.bandwidth.com/messaging/sms-api/) SMS notifications with Laravel php framework.

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

[](#installation)

You can install the package via composer:

```
composer require "ankurk91/bandwidth-notification-channel"
```

Setting up your Bandwidth account
---------------------------------

[](#setting-up-your-bandwidth-account)

- Grab your account credentials from [Bandwidth](https://dev.bandwidth.com/docs/account/credentials)
- Add the account credentials in your `.env` and `.env.example` file:

```
BANDWIDTH_ACCOUNT_ID=
BANDWIDTH_APPLICATION_ID=
BANDWIDTH_API_USERNAME=
BANDWIDTH_API_PASSWORD=
BANDWIDTH_FROM=
BANDWIDTH_DRY_RUN=false
```

Publish the config file (optional)
----------------------------------

[](#publish-the-config-file-optional)

You can publish the [config](./config/bandwidth.php) file into your project.

```
php artisan vendor:publish --provider="NotificationChannels\Bandwidth\BandwidthServiceProvider" --tag="config"
```

Usage
-----

[](#usage)

You can use the Bandwidth channel in the `via()` method inside your Notification class:

```
