PHPackages                             trello/trello - 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. trello/trello

ActiveLibrary[API Development](/categories/api)

trello/trello
=============

PHP Trello API Wrapper

0.1.1(12y ago)3832.3k↓50%14[11 PRs](https://github.com/ashwinks/Trello-API-PHP-Wrapper/pulls)1MITPHPPHP &gt;=5.3.0

Since Jan 10Pushed 6y agoCompare

[ Source](https://github.com/ashwinks/Trello-API-PHP-Wrapper)[ Packagist](https://packagist.org/packages/trello/trello)[ Docs](https://github.com/ashwinks/Trello-API-PHP-Wrapper.git)[ RSS](/packages/trello-trello/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (3)Used By (1)

PHP-Trello-SDK
==============

[](#php-trello-sdk)

A PHP wrapper for the Trello API

This is still under heavy development and is not recommended for production use. Many methods are missing as this is just scaffolding for now.

Usage
=====

[](#usage)

Instantiate the client

```
$client = new \Trello\Client($api_key);
```

Get the authroization url to redrect the user to

```
$url = $client->getAuthorizationUrl('some app name', 'http://myapp.com/returnurl'));
header("Location: {$url}");
```

Set the access token

```
$client->setAccessToken($returned_token);
```

Get organizations

```
$member_obj = new \Trello\Model\Member($client);
$member_obj->setId('userid');
$orgs = $member_obj->getOrganizations();
```

Get a board

```
$board = $client->getBoard($board_id);
```

Another way to get a board (or any object)

```
$board = new \Trello\Model\Board($client);
$board->setId($board_id);
$board = $board->get();
```

Get all cards for a board

```
$cards = $board->getCards();
```

Get a specific card for this board

```
$card = $board->getCard($card_id);
```

Update the card

```
$card->name = 'some new name';
$card->save();
```

Create a new card (or any object)

```
$card = new \Trello\Model\Card($client);
$card->name = 'some card name';
$card->desc = 'some card desc';
$card->idList = $list_id;
$card->save();
```

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity40

Moderate usage in the ecosystem

Community16

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 81.8% 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

Every ~52 days

Total

2

Last Release

4451d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/eef91d092af7d4af59f646295490ec7368a0ca8f3c8f644b605b1936b50cc4f6?d=identicon)[ashwinks](/maintainers/ashwinks)

---

Top Contributors

[![teedot-ashwin](https://avatars.githubusercontent.com/u/5694960?v=4)](https://github.com/teedot-ashwin "teedot-ashwin (9 commits)")[![ashwinks](https://avatars.githubusercontent.com/u/382665?v=4)](https://github.com/ashwinks "ashwinks (1 commits)")[![TheBrockEllis](https://avatars.githubusercontent.com/u/1606194?v=4)](https://github.com/TheBrockEllis "TheBrockEllis (1 commits)")

---

Tags

apitrellotrello api wrapper

### Embed Badge

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

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

###  Alternatives

[gregoriohc/laravel-trello

A Laravel wrapper and facade package for the Trello API

3366.8k2](/packages/gregoriohc-laravel-trello)[m165437/laravel-blueprint-docs

API Blueprint Renderer for Laravel

22779.0k](/packages/m165437-laravel-blueprint-docs)

PHPackages © 2026

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