PHPackages                             virgiliopontes/trello-api - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. virgiliopontes/trello-api

ActiveLibrary[API Development](/categories/api)

virgiliopontes/trello-api
=========================

A simple Trello client library. Forked from https://github.com/SimplesVet/trello-api-php

1.0.0(5y ago)05MITPHPPHP &gt;=7.0

Since Sep 4Pushed 5y agoCompare

[ Source](https://github.com/virgiliopontes/trello-api-php)[ Packagist](https://packagist.org/packages/virgiliopontes/trello-api)[ RSS](/packages/virgiliopontes-trello-api/feed)WikiDiscussions master Synced today

READMEChangelog (1)DependenciesVersions (2)Used By (0)

trello-api-php
==============

[](#trello-api-php)

PHP SDK to use Trello Api

Authentication
--------------

[](#authentication)

```
$key = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx';
$token = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx';
```

[See how to get API Key and Token](get-key-token.md)

User
----

[](#user)

```
$trelloBoard = new Trello\User($key, $token);
$boardId = 'xxxxxxxxxxxxxxxxxxxxxxxx';

// Getting board info
$return = $trelloBoard->get($boardId);

// Getting list of members from board
$return = $trelloBoard->get($boardId, 'members');

// Getting list of cards from board
$arguments = array(
    'fields' => 'id,name,idList'
);
$return = $trelloBoard->get($boardId, 'cards', $arguments);
```

Boards
------

[](#boards)

```
$trelloBoard = new Trello\Board($key, $token);
$boardId = 'xxxxxxxxxxxxxxxxxxxxxxxx';

// Getting board info
$return = $trelloBoard->get($boardId);

// Getting list of members from board
$return = $trelloBoard->get($boardId, 'members');

// Getting list of cards from board
$arguments = array(
    'fields' => 'id,name,idList'
);
$return = $trelloBoard->get($boardId, 'cards', $arguments);
```

[See `Boards` in API Reference](https://developers.trello.com/advanced-reference/board)

Cards
-----

[](#cards)

```
$trelloCard = new Trello\Card($key, $token);
$cardId = 'xxxxxxxxxxxxxxxxxxxxxxxx';

// Getting Card Info
$return = $trelloCard->get($cardId);

// Getting Card Actions
$return = $trelloCard->get($cardId, 'actions');

// Creating a Card
$data = array(
    'name' => 'Test card',
    'desc' => 'This is a test card',
    'due' => null,
    'idList' => 'xxxxxxxxxxxxxxxxxxxxxxxx',
    'urlSource' => null
);
$return = $trelloCard->post($data);
```

[See `Cards` in API Reference](https://developers.trello.com/advanced-reference/card)

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 74.2% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

2129d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/16602add936a2a35b03f4a2e640f7e8abf18ad767d4d35fce94e09a60b16baf0?d=identicon)[virgiliopontes](/maintainers/virgiliopontes)

---

Top Contributors

[![vncdias](https://avatars.githubusercontent.com/u/5617948?v=4)](https://github.com/vncdias "vncdias (23 commits)")[![ssatorres](https://avatars.githubusercontent.com/u/1444980?v=4)](https://github.com/ssatorres "ssatorres (6 commits)")[![virgiliopontes](https://avatars.githubusercontent.com/u/16328403?v=4)](https://github.com/virgiliopontes "virgiliopontes (2 commits)")

---

Tags

apiclienttrello

### Embed Badge

![Health badge](/badges/virgiliopontes-trello-api/health.svg)

```
[![Health](https://phpackages.com/badges/virgiliopontes-trello-api/health.svg)](https://phpackages.com/packages/virgiliopontes-trello-api)
```

###  Alternatives

[deepseek-php/deepseek-php-client

deepseek PHP client is a robust and community-driven PHP client library for seamless integration with the Deepseek API, offering efficient access to advanced AI and data processing capabilities.

46688.8k5](/packages/deepseek-php-deepseek-php-client)[skeeks/yii2-google-api

Component for work with google api based on google/apiclient

1143.8k1](/packages/skeeks-yii2-google-api)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
