/Todoist-PHP-API-Library

A PHP client library that provides a native interface to the official Todoist REST API.

Primary LanguagePHPMIT LicenseMIT

GitHub tag (latest by date) GitHub stars GitHub forks GitHub issues GitHub license Codacy grade StyleCI Badge

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

👉 CHANGELOG.md

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. 😢