PHPackages                             codechito/laravel-transmitmessage-channel - 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. codechito/laravel-transmitmessage-channel

ActiveLibrary

codechito/laravel-transmitmessage-channel
=========================================

:package\_description

06PHPCI failing

Since Jan 29Pushed 6y ago1 watchersCompare

[ Source](https://github.com/codechito/laravel-transmitmessage-channel)[ Packagist](https://packagist.org/packages/codechito/laravel-transmitmessage-channel)[ RSS](/packages/codechito-laravel-transmitmessage-channel/feed)WikiDiscussions master Synced 5d ago

READMEChangelogDependenciesVersions (1)Used By (0)

Please see [this repo](https://github.com/laravel-notification-channels/channels) for instructions on how to submit a channel proposal.

[![Latest Version on Packagist](https://camo.githubusercontent.com/fdaad538f4ef2b61707a0a392ea86d2c9cec8e222029aebe09ee48d43ce2ab17/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6c61726176656c2d6e6f74696669636174696f6e2d6368616e6e656c732f7472616e736d69746d6573736167652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/laravel-notification-channels/transmitmessage)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/8bdfc2e1dd65e601dfd2eb1bb0764aa787e947440be4afc1c6fee5de41f1fd30/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6c61726176656c2d6e6f74696669636174696f6e2d6368616e6e656c732f7472616e736d69746d6573736167652f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/laravel-notification-channels/transmitmessage)[![StyleCI](https://camo.githubusercontent.com/768a6041e6d9e1d5da89e64c3e785631240f2736770dfa68d509c42a321135da/68747470733a2f2f7374796c6563692e696f2f7265706f732f3a7374796c655f63695f69642f736869656c64)](https://styleci.io/repos/:style_ci_id)[![SensioLabsInsight](https://camo.githubusercontent.com/7a395d7551140767a9f38f838e0e96b367bae56234402374185cd65ee8d795a1/68747470733a2f2f696d672e736869656c64732e696f2f73656e73696f6c6162732f692f3a73656e73696f5f6c6162735f69642e7376673f7374796c653d666c61742d737175617265)](https://insight.sensiolabs.com/projects/:sensio_labs_id)[![Quality Score](https://camo.githubusercontent.com/57ce8b2b0a72a29a6b0c669cffbde9b8b10acfa387358919a3c4ce1bd4ab501a/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f6c61726176656c2d6e6f74696669636174696f6e2d6368616e6e656c732f7472616e736d69746d6573736167652e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/laravel-notification-channels/transmitmessage)[![Code Coverage](https://camo.githubusercontent.com/4586771de55e82b96e081c136ec05ba0748df239e8309e8256344ef6a8bbdb52/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f6c61726176656c2d6e6f74696669636174696f6e2d6368616e6e656c732f7472616e736d69746d6573736167652f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/laravel-notification-channels/transmitmessage/?branch=master)[![Total Downloads](https://camo.githubusercontent.com/588d4aba48f65b1b76b05bd97584641214edf17bb465122fec4b58eb9d7fc966/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6c61726176656c2d6e6f74696669636174696f6e2d6368616e6e656c732f7472616e736d69746d6573736167652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/laravel-notification-channels/transmitmessage)

This package makes it easy to send notifications using [TransmitMessage](https://developer.transmitmessage.com) with Laravel 5.5+ and 6.x

Contents
--------

[](#contents)

- [Installation](#installation)
    - [Setting up the TransmitMessage service](#setting-up-the-TransmitMessage-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 codechito/laravel-transmitmessage-channel

```

### Setting up the TransmitMessage service

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

Add the environment variables to your config/services.php:

```
// config/services.php
...
'transmitmessage' => [
    'apiKey' => env('TRANSMITMESSAGE_APIKEY'),
],
...

```

Add your TransmitMessage API Key to your .env:

```
// .env
...
TRANSMITMESSAGE_APIKEY=
],
...

```

Usage
-----

[](#usage)

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

```
