Download the PHP package laravel-notification-channels/todoist without Composer
On this page you can find all versions of the php package laravel-notification-channels/todoist. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download laravel-notification-channels/todoist
More information about laravel-notification-channels/todoist
Files in laravel-notification-channels/todoist
Package todoist
Short Description Todoist Notifications driver
License MIT
Homepage https://github.com/laravel-notification-channels/todoist
Informations about the package todoist
Todoist notifications channel for Laravel 5.3
~This package makes it easy to create Todoist tasks with Laravel 5.3.~
Channel Deprecated
Please see this issue for more infomation.
This channel was deprecated in Oct 2019 due to lack of a maintainer.
Contents
- Installation
- Setting up the Todoist service
- Usage
- Available Message methods
- Changelog
- Testing
- Security
- Contributing
- Credits
- License
Installation
You can install the package via composer:
Setting up the Todoist service
In order to add tickets to Todoist users, you need to obtain their access token.
Create a new Todoist App to get started.
Usage
Now you can use the channel in your via()
method inside the notification:
In order to let your Notification know which Todoist user and Todoist list you are targeting, add the routeNotificationForTodoist
method to your Notifiable model.
This method needs to return the access token of the authorized Todoist user.
Available methods
content('')
: Accepts a string value for the Todoist ticket content.projectId('')
: Accepts an integer value for the Todoist project id, default is the "Inbox" project.priority('')
: Accepts an integer value for the ticket priority. It should be a number between 1 and 4, 4 for very urgent and 1 for natural.indent('')
: Accepts an integer value for the ticket indent level. It should be a a number between 1 and 4, where 1 is top-level.itemOrder('')
: Accepts an integer value for the ticket item order.collapsed()
: Marks the Todoist ticket as collapsed.due('')
: Accepts a string or DateTime object for the Todoist ticket due date.
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
- Marcel Pociot
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of todoist with dependencies
guzzlehttp/guzzle Version ~6.0
illuminate/notifications Version 5.3.*
illuminate/support Version 5.1.*|5.2.*|5.3.*