PHPackages                             revolution/laravel-notification-chatwork - 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. revolution/laravel-notification-chatwork

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

revolution/laravel-notification-chatwork
========================================

Chatwork notifications channel for Laravel. (v2)

2.1.0(7y ago)03.2k1MITPHPPHP &gt;=7.1.3CI failing

Since Jan 4Pushed 7y ago1 watchersCompare

[ Source](https://github.com/kawax/laravel-notification-chatwork)[ Packagist](https://packagist.org/packages/revolution/laravel-notification-chatwork)[ Docs](https://github.com/kawax/laravel-notification-chatwork/)[ RSS](/packages/revolution-laravel-notification-chatwork/feed)WikiDiscussions v2 Synced yesterday

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

ChatWork Notifications Channel for Laravel
==========================================

[](#chatwork-notifications-channel-for-laravel)

終了
--

[](#終了)

使わなくなってきたのでpackagistからは削除。 composer.jsonで直接repositoriesを指定すれば使えるけど使いたい人がいるならフォークして自分で管理したほうがいい。

オリジナルからの変更点
-----------

[](#オリジナルからの変更点)

フォークして使ってたけど毎回 composer.json で repositories の設定が面倒になってきたので別パッケージとして登録。

- ChatWork API v2
- メッセージごとに token 設定。別アカウントでも投稿するため。
- PHP7.1以上
- namespace 変更

```
composer require revolution/laravel-notification-chatwork

```

```
use Revolution\NotificationChannels\Chatwork\ChatworkMessage;

return (new ChatworkMessage())->token('token')
                              ->message('message');
```

This package makes it easy to send Chatwork messages using [Chatwork API](http://developer.chatwork.com/ja/) with Laravel 5.3.

Contents
--------

[](#contents)

- [Installation](#installation)
- [Configuration](#configuration)
- [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 e2kaneko/laravel-chatwork-notifications
```

You must install the service provider:

```
// config/app.php
'providers' => [
    ...
    NotificationChannels\Chatwork\ChatworkServiceProvider::class,
],
```

Configuration
-------------

[](#configuration)

Configure your credentials:

```
// config/services.php
...
'chatwork' => [
    'api_token' => env('CHATWORK_API_TOKEN'),
],
...
```

Usage
-----

[](#usage)

You can now use the channel in your `via()` method inside the Notification class.

```
