Download the PHP package e2kaneko/laravel-chatwork-notifications without Composer
On this page you can find all versions of the php package e2kaneko/laravel-chatwork-notifications. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download e2kaneko/laravel-chatwork-notifications
More information about e2kaneko/laravel-chatwork-notifications
Files in e2kaneko/laravel-chatwork-notifications
Package laravel-chatwork-notifications
Short Description Chatwork notifications channel for Laravel.
License MIT
Homepage https://github.com/e2kaneko/laravel-chatwork-notification
Informations about the package laravel-chatwork-notifications
Chatwork Notifications Channel for Laravel 5.3
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-chatwork-notifications with dependencies
guzzlehttp/guzzle Version ~6.0
illuminate/notifications Version ^5.3
illuminate/support Version ^5.1|^5.2|^5.3