https://github.com/FabianBeiner/Todoist-PHP-API-Library
A PHP client library that provides a native interface to the official Todoist REST API.
https://github.com/FabianBeiner/Todoist-PHP-API-Library
api api-client client library php sdk sdk-php todoist todoist-api todoist-sdk
Last synced: 11 months ago
JSON representation
A PHP client library that provides a native interface to the official Todoist REST API.
- Host: GitHub
- URL: https://github.com/FabianBeiner/Todoist-PHP-API-Library
- Owner: FabianBeiner
- License: mit
- Created: 2014-12-21T21:04:21.000Z (over 11 years ago)
- Default Branch: main
- Last Pushed: 2022-12-20T16:57:36.000Z (over 3 years ago)
- Last Synced: 2025-06-18T18:54:32.551Z (12 months ago)
- Topics: api, api-client, client, library, php, sdk, sdk-php, todoist, todoist-api, todoist-sdk
- Language: PHP
- Homepage:
- Size: 238 KB
- Stars: 48
- Watchers: 10
- Forks: 12
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
 [](https://github.com/FabianBeiner/Todoist-PHP-API-Library/stargazers) [](https://github.com/FabianBeiner/Todoist-PHP-API-Library/network) [](https://github.com/FabianBeiner/Todoist-PHP-API-Library/issues) [](https://github.com/FabianBeiner/Todoist-PHP-API-Library/blob/master/LICENSE)  [](https://styleci.io/repos/28313097/)
# PHP Client for Todoist
**This repository contains a PHP client library that provides a native interface to the official
[Todoist REST API (v2)](https://developer.todoist.com/rest/v2/).**
## Requirements
- [PHP](https://php.net/): >=8.0
- [Guzzle](https://github.com/guzzle/guzzle): ^7.5
## Installation
The recommended way is using **[Composer](https://getcomposer.org/)**. If you don’t have Composer installed, follow the [installation instructions](https://getcomposer.org/doc/00-intro.md#installation-linux-unix-macos).
Once you have installed Composer, execute the following command in your project root to install this library:
```shell
composer require fabian-beiner/todoist-php-api-library
```
Finally, include the autoloader in your project:
```php
require __DIR__ . '/vendor/autoload.php';
```
## Usage
```php
$Todoist = new FabianBeiner\Todoist\TodoistClient('YOUR_API_TOKEN');
```
[Please look at the Wiki of this project.](https://github.com/FabianBeiner/Todoist-PHP-API-Library/wiki) It contains a list of all available methods and related usage examples.
## Obtain your API token
[Click here](https://todoist.com/app/settings/integrations) to find your API token at the bottom of that page.
If the link doesn’t work, open the [Todoist web app](https://todoist.com/app/), click on your profile image/icon, select “Settings,” then “Integrations.”
## Changelog
👉 [CHANGELOG.md](https://github.com/FabianBeiner/Todoist-PHP-API-Library/blob/master/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](https://github.com/FabianBeiner/Todoist-PHP-API-Library/blob/master/LICENSE)
## Disclaimer
The project is not created by, affiliated with, or supported by Doist. 😢