Download the PHP package revolution/laravel-notification-chatwork without Composer
On this page you can find all versions of the php package revolution/laravel-notification-chatwork. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download revolution/laravel-notification-chatwork
More information about revolution/laravel-notification-chatwork
Files in revolution/laravel-notification-chatwork
Package laravel-notification-chatwork
Short Description Chatwork notifications channel for Laravel. (v2)
License MIT
Homepage https://github.com/kawax/laravel-notification-chatwork/
Informations about the package laravel-notification-chatwork
ChatWork Notifications Channel for Laravel
終了
使わなくなってきたのでpackagistからは削除。 composer.jsonで直接repositoriesを指定すれば使えるけど使いたい人がいるならフォークして自分で管理したほうがいい。
オリジナルからの変更点
フォークして使ってたけど毎回 composer.json で repositories の設定が面倒になってきたので別パッケージとして登録。
- ChatWork API v2
- メッセージごとに token 設定。別アカウントでも投稿するため。
- PHP7.1以上
- namespace 変更
This package makes it easy to send Chatwork messages using Chatwork API with Laravel 5.3.
Contents
- Installation
- Configuration
- Usage
- Available Message methods
- Changelog
- Testing
- Security
- Contributing
- Credits
- License
Installation
You can install the package via composer:
You must install the service provider:
Configuration
Configure your credentials:
Usage
You can now use the channel in your via()
method inside the Notification class.
or
Routing a message
You can either send the notification by providing with the room_id of the recipient to the roomId($roomId) method like shown in the above example or add a routeNotificationForChatwork() method in your notifiable model:
Available Message methods
Message(ChatworkMessage)
roomId('roomId')
: (integer|string) Chatwork Room ID.to('accountId')
: (integer|string) .message('message')
: (string) Chat message.
Information(ChatworkInformation)
roomId('roomId')
: (integer|string) Chatwork Room ID.informationTitle('title')
: (string) Information Box Title.informationMessage('message')
: (string) Information Box Message.
Changelog
Please see CHANGELOG for more information what has changed recently.
Testing
Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
Contributing
Please see CONTRIBUTING for details.
Credits
- Tomohiro Kaneko
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of laravel-notification-chatwork with dependencies
guzzlehttp/guzzle Version ^6.0
illuminate/notifications Version ^5.5
illuminate/support Version ^5.5