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

ActiveLibrary[API Development](/categories/api)

bkintanar/trello-php
====================

PHP Trello API Wrapper (+missing models) from https://github.com/sanovskiy/Trello-API-PHP-Wrapper

0.8(4y ago)01491MITPHPPHP &gt;=7.0.0 || &gt;= 8.0.0

Since Jan 10Pushed 4y agoCompare

[ Source](https://github.com/bkintanar/Trello-API-PHP-Wrapper)[ Packagist](https://packagist.org/packages/bkintanar/trello-php)[ Docs](https://github.com/bkintanar/Trello-API-PHP-Wrapper)[ GitHub Sponsors](https://github.com/ArlonAntonius)[ GitHub Sponsors](https://github.com/[user1)[ RSS](/packages/bkintanar-trello-php/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (11)Used By (0)

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

[](#php-trello-sdk)

A PHP wrapper for the Trello API

This repo contains a fix to use this library with php7.2+

[original library](https://github.com/ashwinks/Trello-API-PHP-Wrapper)

Installation
============

[](#installation)

```
$ composer require bkintanar/trello-php
```

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\Models\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\Models\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\Models\Card($client);
$card->name = 'some card name';
$card->desc = 'some card desc';
$card->idList = $list_id;
$card->save();
```

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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 ~360 days

Recently: every ~3 days

Total

9

Last Release

1620d ago

PHP version history (3 changes)0.1PHP &gt;=5.3.0

0.2PHP &gt;=7.0.0

0.3PHP &gt;=7.0.0 || &gt;= 8.0.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/685928?v=4)[Bertrand Kintanar](/maintainers/bkintanar)[@bkintanar](https://github.com/bkintanar)

---

Top Contributors

[![bkintanar](https://avatars.githubusercontent.com/u/685928?v=4)](https://github.com/bkintanar "bkintanar (9 commits)")[![teedot-ashwin](https://avatars.githubusercontent.com/u/5694960?v=4)](https://github.com/teedot-ashwin "teedot-ashwin (9 commits)")[![sanovskiy](https://avatars.githubusercontent.com/u/4635300?v=4)](https://github.com/sanovskiy "sanovskiy (4 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

apitrelloforktrello api wrapper

### Embed Badge

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

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

###  Alternatives

[trello/trello

PHP Trello API Wrapper

3832.3k1](/packages/trello-trello)[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)
