PHPackages                             vikki-user/turbosms - 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. vikki-user/turbosms

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

vikki-user/turbosms
===================

TurboSMS Notification notifications driver for Laravel 5.7+.

v0.0.4(6y ago)01.0k1MITPHPPHP &gt;=7.1.3

Since Dec 14Pushed 6y agoCompare

[ Source](https://github.com/VikkiUser/turbosms)[ Packagist](https://packagist.org/packages/vikki-user/turbosms)[ Docs](https://github.com/VikkiUser/turbosms)[ RSS](/packages/vikki-user-turbosms/feed)WikiDiscussions master Synced today

READMEChangelog (3)Dependencies (3)Versions (6)Used By (0)

TurboSMS notifications channel for Laravel 5.7+
===============================================

[](#turbosms-notifications-channel-for-laravel-57)

[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/2e3b57634ed3bc1b6a5f535f9b5a31d810c3f419818bba2b93947cc73fce62db/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f56696b6b69557365722f747572626f736d732f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/VikkiUser/turbosms)[![StyleCI](https://camo.githubusercontent.com/5dc8755a3640cc2640fd57695b44d76405d1761bac5dcbf3ae347c59f9b68212/68747470733a2f2f7374796c6563692e696f2f7265706f732f3130333636353232382f736869656c64)](https://styleci.io/repos/103665228)

This package makes it easy to send notifications using [turbosms.ua](https://turbosms.ua/) with Laravel 5.7+.

Contents
--------

[](#contents)

- [Installation](#installation)
    - [Setting up the TurboSMS service](#setting-up-the-turbosms-service)
- [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 laravel-notification-channels/turbosms
```

Thanks to [Package Auto-Discovery In Laravel 5.5](https://medium.com/@taylorotwell/package-auto-discovery-in-laravel-5-5-ea9e3ab20518)you don't need to install the service provider manually.

### Setting up the TurboSMS service

[](#setting-up-the-turbosms-service)

Initial steps:

- register account at [turbosms.ua/registration.html](https://turbosms.ua/registration.html)
- add sender in [turbosms.ua/sign/add.html](https://turbosms.ua/sign/add.html)
- create login and password for SOAP API at [turbosms.ua/route.html](https://turbosms.ua/route.html)

Add your TurboSMS user, password and sender to your `config/services.php`:

```
// config/services.php
...
'turbosms' => [
    'login'  => env('TURBOSMS_LOGIN'),
    'password' => env('TURBOSMS_PASSWORD'),
    'sender' => env('TURBOSMS_SENDER'), // optional
],
...
```

Usage
-----

[](#usage)

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

```
use Illuminate\Notifications\Notification;
use NotificationChannels\TurboSms\{
    TurboSmsMessage, TurboSmsChannel
};

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

    public function toTurboSms( $notifiable ) : TurboSmsMessage
    {
        return ( new TurboSmsMessage() )
            ->content( 'Your {$notifiable->service} account was approved!' )
            ->sender( 'Sender' )
            ;
    }
}
```

In your notifiable model, make sure to include a `routeNotificationForTurboSms()` method, which return the phone number or array of phone numbers.

```
public function routeNotificationForTurboSms()
{
    return $this->phone;
}
```

### Available methods

[](#available-methods)

#### TurboSmsClient

[](#turbosmsclient)

`getLastResults()`: get array of notification's GUID styled ID.

#### TurboSmsMessage

[](#turbosmsmessage)

`content()`: sets a content of the notification message.

`getContent()`: gets a content of the notification message.

`sender()`: sets the sender's name (or phone number as name).

`getSender()`: gets the sender's name.

Changelog
---------

[](#changelog)

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

Testing
-------

[](#testing)

```
$ composer test
```

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)

- [Andrey Anufriev](https://github.com/loobooger)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor2

2 contributors hold 50%+ of commits

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 ~34 days

Total

4

Last Release

2539d ago

PHP version history (2 changes)v0.0.1PHP &gt;=7.1.0

v0.0.4PHP &gt;=7.1.3

### Community

Maintainers

![](https://www.gravatar.com/avatar/fb8e4cac20855e97a15d18ab3443ee8f3a980c9de6816ca6fd4bc2910c25f111?d=identicon)[VikkiUser](/maintainers/VikkiUser)

---

Top Contributors

[![YuriyKvit](https://avatars.githubusercontent.com/u/8287714?v=4)](https://github.com/YuriyKvit "YuriyKvit (8 commits)")[![loobooger](https://avatars.githubusercontent.com/u/2021605?v=4)](https://github.com/loobooger "loobooger (4 commits)")[![VikkiUser](https://avatars.githubusercontent.com/u/32870659?v=4)](https://github.com/VikkiUser "VikkiUser (4 commits)")[![mpociot](https://avatars.githubusercontent.com/u/804684?v=4)](https://github.com/mpociot "mpociot (2 commits)")[![freekmurze](https://avatars.githubusercontent.com/u/483853?v=4)](https://github.com/freekmurze "freekmurze (1 commits)")

---

Tags

laravelnotificationssmsturbosms

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/vikki-user-turbosms/health.svg)

```
[![Health](https://phpackages.com/badges/vikki-user-turbosms/health.svg)](https://phpackages.com/packages/vikki-user-turbosms)
```

PHPackages © 2026

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