fabian-beiner / todoist-php-api-library
A PHP client library that provides a native interface to the official Todoist REST API.
Installs: 8 169
Dependents: 0
Suggesters: 0
Security: 0
Stars: 47
Watchers: 11
Forks: 12
Open Issues: 0
Requires
- php: >=8.0
- ext-json: *
- guzzlehttp/guzzle: ^7.5
Requires (Dev)
- friendsofphp/php-cs-fixer: ^v3.12
- phpunit/phpunit: ^9.5
README
PHP Client for Todoist
This repository contains a PHP client library that provides a native interface to the official Todoist REST API (v2).
Requirements
Installation
The recommended way is using Composer. If you don’t have Composer installed, follow the installation instructions.
Once you have installed Composer, execute the following command in your project root to install this library:
composer require fabian-beiner/todoist-php-api-library
Finally, include the autoloader in your project:
require __DIR__ . '/vendor/autoload.php';
Usage
$Todoist = new FabianBeiner\Todoist\TodoistClient('YOUR_API_TOKEN');
Please look at the Wiki of this project. It contains a list of all available methods and related usage examples.
Obtain your API token
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 your profile image/icon, select “Settings,” then “Integrations.”
Changelog
Contributing
I’d be happy if you contributed to this library. Please follow the existing coding style and use proper comments in your commit message. Thanks! 🙇
License
👉 LICENSE
Disclaimer
The project is not created by, affiliated with, or supported by Doist. 😢