PHPackages                             onix-solutions/sms-telera - 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. onix-solutions/sms-telera

ActiveLibrary

onix-solutions/sms-telera
=========================

SmsTelera Notifications channel for Laravel 5.3+.

v2.1.1(7y ago)014MITPHPPHP &gt;=5.6.4

Since Aug 13Pushed 7y ago1 watchersCompare

[ Source](https://github.com/onix-solutions/sms-telera)[ Packagist](https://packagist.org/packages/onix-solutions/sms-telera)[ Docs](https://github.com/onix-solutions/sms-telera)[ RSS](/packages/onix-solutions-sms-telera/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (6)Versions (18)Used By (0)

Sms Telera notifications channel for Laravel 5.3+
=================================================

[](#sms-telera-notifications-channel-for-laravel-53)

[![Latest Version on Packagist](https://camo.githubusercontent.com/16a056ee0c4ceddd264eab07ebfd03d87a9a3381e096abc7ac08dd5245713101/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6f6e69782d736f6c7574696f6e732f736d732d74656c6572612e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/onix-solutions/sms-telera)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/d30698c3e6a1a5cb7e4a992e5632c2dad2d5d9dc1544fec7021e798fc4947d1d/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6f6e69782d736f6c7574696f6e732f736d732d74656c6572612f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/onix-solutions/sms-telera)[![StyleCI](https://camo.githubusercontent.com/0cc40f91817704dc8a790e86f9121777e293ae2c3e748db68c894eba156c4964/68747470733a2f2f7374796c6563692e696f2f7265706f732f36353538393435312f736869656c64)](https://styleci.io/repos/65589451)[![SensioLabsInsight](https://camo.githubusercontent.com/8bf7b10fb398541d8adce86003f2fa8aadd3c5de6cae0c9e84ce878e4234f3e9/68747470733a2f2f696d672e736869656c64732e696f2f73656e73696f6c6162732f692f61636565666532372d626135612d343964372d393036342d6263336162656130616265622e7376673f7374796c653d666c61742d737175617265)](https://insight.sensiolabs.com/projects/aceefe27-ba5a-49d7-9064-bc3abea0abeb)[![Quality Score](https://camo.githubusercontent.com/10db516d83bc9dfc1d2e04fdf9dc0c91e9fd239de0ff15f563c57ee9acb1e1fe/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f6f6e69782d736f6c7574696f6e732f736d732d74656c6572612e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/onix-solutions/sms-telera)[![Code Coverage](https://camo.githubusercontent.com/4eae2ad196b670924c37e9e3d5322e1d638f18930dc5453ccab97c65f83b90d5/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f6f6e69782d736f6c7574696f6e732f736d732d74656c6572612f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/onix-solutions/sms-telera/?branch=master)[![Total Downloads](https://camo.githubusercontent.com/744e5a3c563b229d8d2165bca766333ec96573557c78d6c8f48a7cb49b4b9920/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6f6e69782d736f6c7574696f6e732f736d732d74656c6572612e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/onix-solutions/sms-telera)

This package makes it easy to send notifications using [sms.telera](//sms.telera) with Laravel 5.3+.

Contents
--------

[](#contents)

- [Installation](#installation)
    - [Setting up the SmsTelera service](#setting-up-the-SmsTelera-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 onix-solutions/sms-telera
```

Then you must install the service provider:

```
// config/app.php
'providers' => [
    ...
    OnixSolutions\SmsTelera\SmsTeleraServiceProvider::class,
],
```

### Setting up the SmsTelera service

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

Add your SmsTelera login, secret key (hashed password) and default sender name (or phone number) to your `config/services.php`:

```
// config/services.php
...
'smsctelera' => [
    'tk'  => env('SMSCTELERA_TK'),
    'sender' => env('SMSCTELERA_SENDER')
],
...
```

> If you want use other host than `smsc.telera`, you MUST set custom host WITH trailing slash.

```
// .env
...
SMSCTELERA_HOST=http://www1.smsc.kz/
...

```

```
// config/services.php
...
'smsctelera' => [
    ...
    'host' => env('SMSCTELERA_HOST'),
    ...
],
...
```

Usage
-----

[](#usage)

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

```
use Illuminate\Notifications\Notification;
use OnixSolutions\SmsTelera\SmsTeleraMessage;
use OnixSolutions\SmsTelera\SmsTeleraChannel;

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

    public function toSmsTelera($notifiable)
    {
        return SmsTeleraMessage::create("Task #{$notifiable->id} is complete!");
    }
}
```

In your notifiable model, make sure to include a `routeNotificationForSmsctelera()` method, which returns a phone number or an array of phone numbers.

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

### Available methods

[](#available-methods)

`from()`: Sets the sender's name or phone number.

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

`sendAt()`: Set a time for scheduling the notification message.

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)

- [SandroBocon](https://github.com/sandrobocon)
- [JhaoDa](https://github.com/jhaoda)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity67

Established project with proven stability

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

Total

16

Last Release

2735d ago

Major Versions

0.0.2 → v1.0.02016-08-29

v1.1.6 → v2.0.02018-06-11

### Community

Maintainers

![](https://www.gravatar.com/avatar/535d6f3e6977e6913a0ff536eecafb3cff869f38cb89cede6ba4dbf48a210d48?d=identicon)[sandro\_bocon](/maintainers/sandro_bocon)

---

Top Contributors

[![jhaoda](https://avatars.githubusercontent.com/u/2151259?v=4)](https://github.com/jhaoda "jhaoda (24 commits)")[![freekmurze](https://avatars.githubusercontent.com/u/483853?v=4)](https://github.com/freekmurze "freekmurze (16 commits)")[![sandrobocon](https://avatars.githubusercontent.com/u/8063255?v=4)](https://github.com/sandrobocon "sandrobocon (6 commits)")[![themsaid](https://avatars.githubusercontent.com/u/4332182?v=4)](https://github.com/themsaid "themsaid (5 commits)")[![vanodevium](https://avatars.githubusercontent.com/u/16780069?v=4)](https://github.com/vanodevium "vanodevium (3 commits)")[![pinguinjkeke](https://avatars.githubusercontent.com/u/10704892?v=4)](https://github.com/pinguinjkeke "pinguinjkeke (1 commits)")[![tyurind](https://avatars.githubusercontent.com/u/2355982?v=4)](https://github.com/tyurind "tyurind (1 commits)")[![oyed](https://avatars.githubusercontent.com/u/172114265?v=4)](https://github.com/oyed "oyed (1 commits)")[![enniel](https://avatars.githubusercontent.com/u/19760944?v=4)](https://github.com/enniel "enniel (1 commits)")[![Finesse](https://avatars.githubusercontent.com/u/9006227?v=4)](https://github.com/Finesse "Finesse (1 commits)")[![mhamlet](https://avatars.githubusercontent.com/u/1281731?v=4)](https://github.com/mhamlet "mhamlet (1 commits)")[![casperboone](https://avatars.githubusercontent.com/u/15815208?v=4)](https://github.com/casperboone "casperboone (1 commits)")

---

Tags

laravelnotificationssmsteleratelera

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/onix-solutions-sms-telera/health.svg)

```
[![Health](https://phpackages.com/badges/onix-solutions-sms-telera/health.svg)](https://phpackages.com/packages/onix-solutions-sms-telera)
```

###  Alternatives

[laravel/slack-notification-channel

Slack Notification Channel for laravel.

89069.7M111](/packages/laravel-slack-notification-channel)[spatie/laravel-health

Monitor the health of a Laravel application

85810.0M83](/packages/spatie-laravel-health)[laravel-notification-channels/telegram

Telegram Notifications Channel for Laravel

1.1k3.4M35](/packages/laravel-notification-channels-telegram)[laravel-notification-channels/discord

Laravel notification driver for Discord.

2371.3M11](/packages/laravel-notification-channels-discord)[laravel-notification-channels/pusher-push-notifications

Pusher native Push Notifications driver.

282733.2k1](/packages/laravel-notification-channels-pusher-push-notifications)[s-ichikawa/laravel-sendgrid-driver

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

4139.3M1](/packages/s-ichikawa-laravel-sendgrid-driver)

PHPackages © 2026

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