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

ActiveLibrary[API Development](/categories/api)

sanovskiy/trello-php7
=====================

PHP Trello API Wrapper (fork for php7+) from https://github.com/ashwinks/Trello-API-PHP-Wrapper

0.2(6y ago)120.3k1MITPHPPHP &gt;=7.0.0

Since Jan 10Pushed 6y agoCompare

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

READMEChangelog (1)DependenciesVersions (5)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 sanovskiy/trello-php7
```

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

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity27

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 60% 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 ~1043 days

Total

3

Last Release

2416d ago

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

0.2PHP &gt;=7.0.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/2a5521376dceab8922e3b4333bbc17e749e3d39a5b0d63b1afa2a84f5c07331b?d=identicon)[sanovskiy](/maintainers/sanovskiy)

---

Top Contributors

[![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/sanovskiy-trello-php7/health.svg)

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

###  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.8k](/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)
