Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 2 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 (about 10 years ago)
- Default Branch: main
- Last Pushed: 2022-12-20T16:57:36.000Z (about 2 years ago)
- Last Synced: 2024-11-10T19:08:46.709Z (3 months ago)
- Topics: api, api-client, client, library, php, sdk, sdk-php, todoist, todoist-api, todoist-sdk
- Language: PHP
- Homepage:
- Size: 238 KB
- Stars: 47
- Watchers: 11
- 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
![GitHub tag (latest by date)](https://img.shields.io/github/v/tag/FabianBeiner/Todoist-PHP-API-Library?style=flat-square) [![GitHub stars](https://img.shields.io/github/stars/FabianBeiner/Todoist-PHP-API-Library?style=flat-square)](https://github.com/FabianBeiner/Todoist-PHP-API-Library/stargazers) [![GitHub forks](https://img.shields.io/github/forks/FabianBeiner/Todoist-PHP-API-Library?style=flat-square)](https://github.com/FabianBeiner/Todoist-PHP-API-Library/network) [![GitHub issues](https://img.shields.io/github/issues/FabianBeiner/Todoist-PHP-API-Library?style=flat-square)](https://github.com/FabianBeiner/Todoist-PHP-API-Library/issues) [![GitHub license](https://img.shields.io/github/license/FabianBeiner/Todoist-PHP-API-Library?style=flat-square)](https://github.com/FabianBeiner/Todoist-PHP-API-Library/blob/master/LICENSE) ![Codacy grade](https://img.shields.io/codacy/grade/a8cad853a2b041a896753b4dda5659ad?style=flat-square) [![StyleCI Badge](https://styleci.io/repos/28313097/shield?style=flat-square)](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. 😢