New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

enniel/laravel-epochta-notification-channel

Epochta Notification Driver
1,479

Larablocks Analysis

enniel/laravel-epochta-notification-channel works with Laravel 5 (latest release v0.0.1, Oct 20, 2016), which reached end of life: no more fixes, even for security.

Recommendation checks

Not advised

Not advised: no release or commit in over 2 years.

  • No release or commit in over 2 years
  • Supports only Laravel 5, past end of life
  • No release in the last 12 months (last: Oct 20, 2016)
  • 0 downloads a month (needs 10,000)
  • 0 GitHub stars (needs 100)

State

Likely abandoned
  • No release or commit in over 2 years.
  • Last stable release: Oct 20, 2016.
  • No releases in the last 12 months.
  • First released: Oct 20, 2016.
  • 0 open issues on GitHub.

Data from Packagist and GitHub, checked by Larablocks on Nov 26, 2026.

Install
composer require enniel/laravel-epochta-notification-channel
Latest Version:v0.0.1
PHP:>=5.5.9
Laravel:5
License:MIT
Last Updated:Oct 21, 2016
Links: GitHub  ·  Packagist
Maintainer: enniel

Epochta notification channel for Laravel 5.3

This package makes it easy to send notifications using Epochta aka Atompark with Laravel 5.3.

Contents

Installation

You can install this package via composer:

composer require enniel/laravel-epochta-notification-channel

Next add the service provider to your config/app.php:

...
'providers' => [
    ...
     NotificationChannels\Epochta\EpochtaServiceProvider::class,
],
...

Setting up the configuration

Add your private and public keys to your config/services.php:

// config/services.php
...
'epochta' => [
    'sms' => [
        'public_key' => env('EPOCHTA_SMS_PUBLIC_KEY'),
        'private_key' => env('EPOCHTA_SMS_PRIVATE_KEY'),
    ],
],
...

Usage

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

use NotificationChannels\Epochta\EpochtaChannel;
use NotificationChannels\Epochta\EpochtaMessage;
use Illuminate\Notifications\Notification;

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

    public function toEpochta($notifiable)
    {
        return (new EpochtaMessage())
            ->text('message text')
            ->sender('test');
    }
}

In order to let your Notification know which phone number you are targeting, add the routeNotificationForEpochta method to your Notifiable model.

Available message methods

  • from(): The identity of the sender.
  • text(): The text of the message.
  • to(): Recipient's phone number.
  • at(): Sending a message at a specified time.
  • life(): Life time SMS (0 = maximum, 1, 6, 12, 24 hours).
  • type(): For Russia it is possible to specify the type of distribution type parameter.

Testing

$ composer test

Credits

License

The MIT License (MIT). Please see License File for more information.

Related Packages

ohanspace/sms

this is a sms package made for laravel

11 0
sms
midnite81/laravel-base

Base Functionality for Laravel

35,642 3
lbhurtado/sms

Driver-based SMS component in Laravel inspired by the tutorial of Orobo Lucky

10,794 0
huangdijia/laravel-sms

sms for laravel

7,545 2
alhaji-aki/laravel-sms

A package that allows developers integrate sms providers and provide a common ap...

6,642 2

Version History

Version Released PHP Laravel License
v0.0.1 >=5.5.9 ~5.1 MIT