PHPackages                             laravel-notification-channels/sms77 - 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. laravel-notification-channels/sms77

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

laravel-notification-channels/sms77
===================================

Seven Notifications Channel for Laravel

v1.0.6(1y ago)930.8k↓32.1%8MITPHPPHP ^8.2CI passing

Since Apr 28Pushed 9mo ago4 watchersCompare

[ Source](https://github.com/laravel-notification-channels/sms77)[ Packagist](https://packagist.org/packages/laravel-notification-channels/sms77)[ Docs](https://github.com/laravel-notification-channels/sms77)[ RSS](/packages/laravel-notification-channels-sms77/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (7)Dependencies (5)Versions (9)Used By (0)

Seven.io (formerly SMS77) notifications channel for Laravel
===========================================================

[](#sevenio-formerly-sms77-notifications-channel-for-laravel)

[![Latest Version on Packagist](https://camo.githubusercontent.com/32f1689f12ee089c71d05a7bf798c8a508b34d773d2521a38228401ea3ba479a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6c61726176656c2d6e6f74696669636174696f6e2d6368616e6e656c732f736d7337372e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/laravel-notification-channels/sms77)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/aa54eecf8676b12362d63396748b075c14b1a517dc6268160c75b932d5d3534f/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6c61726176656c2d6e6f74696669636174696f6e2d6368616e6e656c732f736d7337372f7068702e796d6c3f7374796c653d666c61742d737175617265)](https://github.com/laravel-notification-channels/sms77/actions)[![StyleCI](https://camo.githubusercontent.com/b65e77bc996d76c2c3abec1f6564c7fb106c1b952dfc816cc850aba1a1bb608d/68747470733a2f2f6769746875622e7374796c6563692e696f2f7265706f732f3235393436363839312f736869656c643f6272616e63683d6d6173746572)](https://github.styleci.io/repos/259466891)[![Quality Score](https://camo.githubusercontent.com/0db10d6e5a1eb1e96f874985aea16985ba3aa7228f10567b21e5b2538e464320/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f6c61726176656c2d6e6f74696669636174696f6e2d6368616e6e656c732f736d7337372e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/laravel-notification-channels/sms77)[![Total Downloads](https://camo.githubusercontent.com/09e206370b1e4e59959bc9622650842e19a81d12cbb7ce4e180c3df2c5371e80/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6c61726176656c2d6e6f74696669636174696f6e2d6368616e6e656c732f736d7337372e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/laravel-notification-channels/sms77)

This package makes it easy to send notifications using [Seven.io (formerly SMS77)](https://www.seven.io) with Laravel.

Contents
--------

[](#contents)

- [Installation](#installation)
    - [Setting up the Seven.io service](#setting-up-the-SMS77-service)
- [Usage](#usage)
    - [Available Message methods](#available-message-methods)
- [Changelog](#changelog)
- [Testing](#testing)
- [Security](#security)
- [Contributing](#contributing)
- [Credits](#credits)
- [License](#license)

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

[](#installation)

This package can be installed via composer:

`composer require laravel-notification-channels/sms77`

### Setting up the SMS77 service

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

1. Create an account and get the API key [here](https://www.seven.io)
2. Add the API key to the `services.php` config file:

    ```
    // config/services.php
    ...
    'sms77' => [
    	'api_key' => env('SEVEN_API_KEY')
    ],
    ...
    ```

Usage
-----

[](#usage)

You can use this channel by adding `SMS77Channel::class` to the array in the `via()` method of your notification class. You need to add the `toSms77()` method which should return a `new SMS77Message()` object.

```
