PHPackages                             zanysoft/laravel-intellisms - 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. zanysoft/laravel-intellisms

ActiveLibrary

zanysoft/laravel-intellisms
===========================

A Laravel notification channel for sending SMS messages using the IntelliSMS API.

1.0(1mo ago)115↓66.7%MITPHPPHP ^8.1

Since Jul 15Pushed 1mo agoCompare

[ Source](https://github.com/zanysoft/laravel-intellisms)[ Packagist](https://packagist.org/packages/zanysoft/laravel-intellisms)[ RSS](/packages/zanysoft-laravel-intellisms/feed)WikiDiscussions main Synced 1w ago

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

Laravel IntelliSMS Package
==========================

[](#laravel-intellisms-package)

[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE)[![Latest Version on Packagist](https://camo.githubusercontent.com/d3e7ac43370d819fcf655a26aea3a81e0ff746f9b27f91ba738e618707acc4af/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7a616e79736f66742f6c61726176656c2d696e74656c6c69736d732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/zanysoft/laravel-intellisms)[![Total Downloads](https://camo.githubusercontent.com/1908332f188c0deb2db085c3a0c24fdbd800a0ea0fecae21d140328f77a22f08/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7a616e79736f66742f6c61726176656c2d696e74656c6c69736d732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/zanysoft/laravel-intellisms)

A Laravel notification channel for sending SMS messages using the [IntelliSMS API](https://www.intellisms.co.uk/sms-gateway/php-sdk/).

Features
--------

[](#features)

- **Laravel Notifications Integration** - Seamless integration with Laravel's notification system
- **Multiple Recipients** - Send SMS to single or multiple phone numbers
- **Customizable Sender ID** - Set custom "from" identifier for your messages
- **Balance Checking** - Check your IntelliSMS account balance
- **Error Handling** - Comprehensive exception handling with provider responses
- **Configuration** - Easy environment-based configuration

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

[](#installation)

**Install the package using Composer**

```
composer require zanysoft/laravel-intellisms
```

**Register the Service Provider**

The package is auto-discovered by Laravel, but you can manually register it in `bootstrap/providers.php`:

```
'providers' => [
    \IntelliSms\LaravelIntelliSms\IntelliSmsServiceProvider::class,
],
```

**Publish the configuration file**

```
php artisan vendor:publish --tag=intellisms-config
```

**Configuration**

Add the following environment variables to your .env file:

```
INTELLISMS_ACCESS_KEY=your_access_key_here
INTELLISMS_SECRET_KEY=your_secret_key_here
INTELLISMS_FROM=YourSenderID

```

Usage
-----

[](#usage)

### Using Notifications

[](#using-notifications)

Create a notification that sends SMS using the IntelliSMS channel:

```
php artisan make:notification SendSmsNotification

```

In your notification class:

```
