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

ActiveLibrary[API Development](/categories/api)

cjrasmussen/trello-api
======================

Simple helper for interacting with Trello's API

1.1.1(1y ago)17211MITPHPPHP &gt;=7.4.0

Since Sep 14Pushed 1y ago1 watchersCompare

[ Source](https://github.com/cjrasmussen/TrelloApi)[ Packagist](https://packagist.org/packages/cjrasmussen/trello-api)[ RSS](/packages/cjrasmussen-trello-api/feed)WikiDiscussions main Synced today

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

TrelloApi
=========

[](#trelloapi)

Simple class for making requests to the Trello API. Not affiliated with Trello or Atlassian.

Usage
-----

[](#usage)

```
use cjrasmussen\TrelloApi\TrelloApi;

$trello = new TrelloApi($key, $token);

// GET THE CARD DATA FOR A SPECIFIED LIST
$data = $trello->request('GET', "/1/lists/{$list_id}}/cards");

// MARK A SPECIFIED CARD AS ARCHIVED
$trello->request('PUT', "/1/cards/{$card_id}/closed", ['value' => true]);
```

More Examples
-------------

[](#more-examples)

More examples, as well as other things I've learned using the Trello API, are [available at my blog](https://cjr.dev/tag/trello-automation/).

Installation
------------

[](#installation)

Simply add a dependency on cjrasmussen/trello-api to your composer.json file if you use [Composer](https://getcomposer.org/) to manage the dependencies of your project:

```
composer require cjrasmussen/trello-api
```

Although it's recommended to use Composer, you can actually include the file(s) any way you want.

License
-------

[](#license)

TrelloApi is [MIT](http://opensource.org/licenses/MIT) licensed.

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance35

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~364 days

Total

5

Last Release

605d ago

PHP version history (2 changes)v1.0PHP &gt;=7.1.0

1.1.0PHP &gt;=7.4.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/0225f44837a665c8a143afa50a34a406a769c523dba31e4cdf73fd0530dede45?d=identicon)[cjrasmussen](/maintainers/cjrasmussen)

---

Top Contributors

[![cjrasmussen](https://avatars.githubusercontent.com/u/15007730?v=4)](https://github.com/cjrasmussen "cjrasmussen (15 commits)")

---

Tags

trello

### Embed Badge

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

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

###  Alternatives

[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M271](/packages/twilio-sdk)[cdaguerre/php-trello-api

Trello API v2 client

255666.7k3](/packages/cdaguerre-php-trello-api)[gregoriohc/laravel-trello

A Laravel wrapper and facade package for the Trello API

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

PHP Trello API Wrapper

3832.3k1](/packages/trello-trello)

PHPackages © 2026

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