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

ActiveLibrary[API Development](/categories/api)

activecollab/php-trello
=======================

PHP-based Trello API Wrapper

1.1.2(5y ago)133.6k↓34%1MPL-2.0-no-copyleft-exceptionPHPPHP &gt;=5.3.0

Since Aug 24Pushed 5y ago1 watchersCompare

[ Source](https://github.com/activecollab/php-trello)[ Packagist](https://packagist.org/packages/activecollab/php-trello)[ Docs](http://mattzuba.bitbucket.org/php-trello/)[ RSS](/packages/activecollab-php-trello/feed)WikiDiscussions master Synced 1mo ago

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

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

[](#php-trello)

Home page:

php-trello is a PHP-based wrapper for the Trello API. It's functionality is very very similar to the Trello-made client.js library. It also supports OAuth authorization.

This is a basic Trello PHP wrapper that is used very similar to the Trello-made client.js library. The method calls are the same (ie: Trello-&gt;post() or Trello-&gt;boards-&gt;get()). See  for detailed information.

Some differences - you cannot specify callbacks for success or error. If they're requested I may add them in, but it's not really my style to pass callbacks like that around PHP when I can simply return the data instead.

Trello::authorize here does OAuth authentication, so you must pass your Secret Key to the constructor or set it after instantiation before calling the authorize method. Some parameters are the same as client.js (name, scope, expiration) and there is one extra (redirect\_uri) for the OAuth callback.

Go to  to get your API and OAuth keys

Example Usage
-------------

[](#example-usage)

### Basic Usage

[](#basic-usage)

Read a public board (Trello)

```
:::php
