PHPackages                             avto-dev/smspilot-notifications-laravel - 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. avto-dev/smspilot-notifications-laravel

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

avto-dev/smspilot-notifications-laravel
=======================================

Notifications channel for SMS Pilot service

v2.7.0(10mo ago)36.9k↓100%4[1 PRs](https://github.com/avto-dev/smspilot-notifications-laravel/pulls)MITPHPPHP ^8.2CI passing

Since Feb 27Pushed 10mo ago1 watchersCompare

[ Source](https://github.com/avto-dev/smspilot-notifications-laravel)[ Packagist](https://packagist.org/packages/avto-dev/smspilot-notifications-laravel)[ RSS](/packages/avto-dev-smspilot-notifications-laravel/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (8)Versions (12)Used By (0)

 [![Laravel](https://camo.githubusercontent.com/640c3d52b2764f179ef3cf089b604516a8c4ac0a06f055a46c6a7fce9428b787/68747470733a2f2f6c61726176656c2e636f6d2f6173736574732f696d672f636f6d706f6e656e74732f6c6f676f2d6c61726176656c2e737667)](https://camo.githubusercontent.com/640c3d52b2764f179ef3cf089b604516a8c4ac0a06f055a46c6a7fce9428b787/68747470733a2f2f6c61726176656c2e636f6d2f6173736574732f696d672f636f6d706f6e656e74732f6c6f676f2d6c61726176656c2e737667)

> Here's the latest documentation on Laravel Notifications System:

SMS Pilot notifications channel | For laravel
=============================================

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

[![Version](https://camo.githubusercontent.com/d0a55bf5aab56589c7e2c4c9d768e777dd64c90ca3c578698204eb4252a4de94/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6176746f2d6465762f736d7370696c6f742d6e6f74696669636174696f6e732d6c61726176656c2e7376673f6d61784167653d313830)](https://packagist.org/packages/avto-dev/smspilot-notifications-laravel)[![PHP Version](https://camo.githubusercontent.com/c992de78657bd863459fd94aa468fc8d3eaf1b8ec58aab1e70a2a36982404a7a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f6176746f2d6465762f736d7370696c6f742d6e6f74696669636174696f6e732d6c61726176656c2e7376673f6c6f6e6743616368653d74727565)](https://packagist.org/packages/avto-dev/smspilot-notifications-laravel)[![Build Status](https://camo.githubusercontent.com/3cf9fd5fe13bf8be50b9b222249ec66079753c640412236df6046baf56e45748/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6176746f2d6465762f736d7370696c6f742d6e6f74696669636174696f6e732d6c61726176656c2f74657374732e796d6c)](https://github.com/avto-dev/smspilot-notifications-laravel/actions)[![Coverage](https://camo.githubusercontent.com/e210afeca321e29821de1a66db3cc27475a9c6191f62d1b9d1e5366bc0c68eec/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636f762f632f6769746875622f6176746f2d6465762f736d7370696c6f742d6e6f74696669636174696f6e732d6c61726176656c2f6d61737465722e7376673f6d61784167653d3630)](https://codecov.io/gh/avto-dev/smspilot-notifications-laravel/)[![Downloads count](https://camo.githubusercontent.com/9e61571b4648f15293786554d352ea3546c849e6cb6989160db4feefb21bb190/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6176746f2d6465762f736d7370696c6f742d6e6f74696669636174696f6e732d6c61726176656c2e7376673f6d61784167653d313830)](https://packagist.org/packages/avto-dev/smspilot-notifications-laravel)[![License](https://camo.githubusercontent.com/41f4478daa00fe3d97d49b685cc0fcaf6117e76bcea663752a477c6663e35fb1/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6176746f2d6465762f736d7370696c6f742d6e6f74696669636174696f6e732d6c61726176656c2e7376673f6c6f6e6743616368653d74727565)](https://github.com/avto-dev/smspilot-notifications-laravel/blob/master/LICENSE)

This package makes it easy to send notifications using [SMS Pilot](https://smspilot.ru/) with Laravel 5.

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

[](#installation)

Require this package with composer using the following command:

```
$ composer require avto-dev/smspilot-notifications-laravel "^2.0"
```

> Installed `composer` is required ([how to install composer](https://getcomposer.org/download/)).

> You need to fix the major version of package.

Laravel 5.5 and above uses Package Auto-Discovery, so doesn't require you to manually register the service-provider. Otherwise you must add the service provider to the `providers` array in `./config/app.php`:

```
'providers' => [
    // ...
    AvtoDev\SmsPilotNotifications\SmsPilotServiceProvider::class,
],
```

If you wants to disable package service-provider auto discover, just add into your `composer.json` next lines:

```
{
    "extra": {
        "laravel": {
            "dont-discover": [
                "avto-dev/smspilot-notifications-laravel"
            ]
        }
    }
}
```

Setting up the SMS Pilot service
--------------------------------

[](#setting-up-the-sms-pilot-service)

You need to set up SMS Pilot channel in config file `./config/services.php`:

```
