A PHP client library that provides a native interface to the official Todoist REST API.
This repository contains a PHP client library that provides a native interface to the official Todoist REST API (v1).
The recommended way is using Composer. If you don’t have Composer installed, follow the install instructions.
Once Composer is installed, execute the following command in your project root to install this library:
composer require fabian-beiner/todoist-php-api-library
Finally, include the autoloader to your project:
require __DIR__ . '/vendor/autoload.php';
$Todoist = new FabianBeiner\Todoist\TodoistClient('YOUR_API_TOKEN');
Please have a look at the Wiki of this project. It contains a list of all available methods and related usage examples.
Click here to find your API token at the bottom of that page.
If the link doesn’t work, open the Todoist web app, click on the gear icon , select “Settings,” then “Integrations.”
I’d be happy if you contribute to this library. Please try to follow the existing coding style and use proper comments in your commit message. Thanks! 🙇
The project is not created by, affiliated with, or supported by Doist.