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

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

grupodkt/notification-channel-sms
=================================

Notification channel SMS

v6.0.1(3y ago)0291MITPHPPHP ^8.0.2

Since Apr 4Pushed 3y ago1 watchersCompare

[ Source](https://github.com/grupodkt/notification-channel-sms)[ Packagist](https://packagist.org/packages/grupodkt/notification-channel-sms)[ Docs](https://github.com/grupodkt/laravel-notification-channel-sms)[ RSS](/packages/grupodkt-notification-channel-sms/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (4)Versions (4)Used By (0)

Sms notifications channel for Laravel 9.0
=========================================

[](#sms-notifications-channel-for-laravel-90)

This package makes it easy to send \[Sms notifications\] with Laravel 9.0.

Contents
--------

[](#contents)

- [Usage](#usage)
    - [Available Message methods](#available-message-methods)
- [Changelog](#changelog)
- [Testing](#testing)
- [Security](#security)
- [Contributing](#contributing)
- [Credits](#credits)
- [License](#license)

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

[](#installation)

You can install the package via composer:

```
composer require grupodkt/notification-channel-sms
```

### Setting up your Waba account

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

Add your Sms Url, Auth Token, and phoneNumberId to your `config/services.php`:

```
// config/services.php
...
'sms' => [
    'url'   => env('SMS_URL'),
    'token' => env('SMS_TOKEN'),
    'phoneNumberId' => env('SMS_PHONE_NUMBER_ID'),
],
...
```

Usage
-----

[](#usage)

Now you can use the channel in your `via()` method inside the notification:

```
use NotificationChannels\Sms\SmsChannel;
use NotificationChannels\Sms\SmsMessage;
use Illuminate\Notifications\Notification;

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

    public function toSms($notifiable)
    {
        return (new SmsMessage())
            ->content("Your {$notifiable->service} account was approved!");
    }
}
```

In order to let your Notification know which phone are you sending/calling to, the channel will look for the `celular` attribute of the Notifiable model. If you want to override this behaviour, add the `routeNotificationForSms` method to your Notifiable model.

```
public function routeNotificationForSms()
{
    return $this->celular;
}
```

### Available Message methods

[](#available-message-methods)

#### SmsMessage

[](#smsmessage)

- `from('')`: Accepts a phone to use as the notification sender.
- `content('')`: Accepts a string value for the notification body.
- `idCode(0)`: Accepts a integer value for the correlative id message.

Changelog
---------

[](#changelog)

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

Security
--------

[](#security)

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

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

[](#contributing)

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

Credits
-------

[](#credits)

- [GRUPODKT](https://github.com/grupodkt)

License
-------

[](#license)

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

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 70% 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 ~3 days

Total

3

Last Release

1181d ago

Major Versions

v5.8.0 → v6.0.02023-04-10

PHP version history (2 changes)v5.8.0PHP &gt;=7.0.0

v6.0.0PHP ^8.0.2

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/66436736?v=4)[repositoriosdkt](/maintainers/repositoriosdkt)[@repositoriosdkt](https://github.com/repositoriosdkt)

---

Top Contributors

[![menene](https://avatars.githubusercontent.com/u/1200545?v=4)](https://github.com/menene "menene (7 commits)")[![lecheverriaDkt](https://avatars.githubusercontent.com/u/66436637?v=4)](https://github.com/lecheverriaDkt "lecheverriaDkt (3 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/grupodkt-notification-channel-sms/health.svg)

```
[![Health](https://phpackages.com/badges/grupodkt-notification-channel-sms/health.svg)](https://phpackages.com/packages/grupodkt-notification-channel-sms)
```

###  Alternatives

[aws/aws-sdk-php

AWS SDK for PHP - Use Amazon Web Services in your PHP project

6.3k543.5M2.6k](/packages/aws-aws-sdk-php)[spatie/laravel-health

Monitor the health of a Laravel application

87512.0M165](/packages/spatie-laravel-health)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k656.1k38](/packages/neuron-core-neuron-ai)[s-ichikawa/laravel-sendgrid-driver

This library adds a 'sendgrid' mail driver to Laravel.

4079.9M1](/packages/s-ichikawa-laravel-sendgrid-driver)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3741.3M46](/packages/tencentcloud-tencentcloud-sdk-php)[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k15](/packages/tempest-framework)

PHPackages © 2026

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