Download the PHP package hsuan1117/line-notify-channel without Composer
On this page you can find all versions of the php package hsuan1117/line-notify-channel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download hsuan1117/line-notify-channel
More information about hsuan1117/line-notify-channel
Files in hsuan1117/line-notify-channel
Package line-notify-channel
Short Description Use LINE Notify Service to notify users
License MIT
Homepage https://github.com/laravel-notification-channels/line-notify-channel
Informations about the package line-notify-channel
Please see this repo for instructions on how to submit a channel proposal.
Line Notify Laravel Notification Channel
This package makes it easy to send notifications using LINENotify with Laravel 8+.
To use this package, you must have a LINENotify account.
Contents
- Installation
- Setting up the LINENotify service
- Usage
- Create Service
- Set up the credentials
- Use it for the notification
- Changelog
- Testing
- Security
- Contributing
- Credits
- License
Installation
You can install the package via composer:
Setting up the LINENotify service
Optionally include a few steps how users can set up the service.
Usage
Create service
-
Use the button to create service.
- You can get your client ID and client secret from the service page.
Set up the credentials
Add your LINE Notify client ID and client secret to your .env
file:
Use it for the notification
Add to via() method in your notification class:
Add routeNotificationForLINENotify() method in your notification class:
Add to toLINENotify() method in your notification class:
Configure the callback URL (not included in this package)
Here is an example, use it at your own scenario
-
Create a route for the callback URL
-
Create a controller for the callback URL
- Usage: put the following code in your frontend
Changelog
Please see CHANGELOG for more information what has changed recently.
Testing
Not implemented yet. Welcome to contribute.
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
- Hsuan Chang
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of line-notify-channel with dependencies
illuminate/notifications Version ~8.0 || ~9.0 || ~10.0
illuminate/support Version ~8.0 || ~9.0 || ~10.0