crontis / trello-php
Trello API Wrapper for PHP
Installs: 145
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/crontis/trello-php
Requires
- guzzlehttp/guzzle: ^6.5
This package is auto-updated.
Last update: 2025-10-29 03:03:36 UTC
README
Simple PHP Trello API Request wrapper using Guzzle. This package currently doesn't contain many requests but a basis to build on.
Example
Get cards of specified board in list "Doing".
<?php require_once __DIR__ . '/vendor/autoload.php'; $client = new \TrelloPhpApi\Client('[your api key]', 'your api token'); $lists = $client->send(new \TrelloPhpApi\Requests\Boards\GetListsOnABoard('id of board, can be seen in board url')); $doingList = []; foreach ($lists as $list) { if ($list['name'] === 'Doing') { $doingList = $list; break; } } $cards = $client->send(new \TrelloPhpApi\Requests\Lists\GetCardsInAList($doingList['id']));