2017 © Pedro Peláez
 

library trello-php

A simple PHP wrapper for utilising the Trello api.

image

pxgamer/trello-php

A simple PHP wrapper for utilising the Trello api.

  • Wednesday, December 6, 2017
  • by PXgamer
  • Repository
  • 0 Watchers
  • 0 Stars
  • 59 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 7 Versions
  • 7 % Grown

The README.md

trello-php

Latest Version on Packagist ![Software License][ico-license] Build Status Style CI ![Code Coverage][ico-code-quality] Total Downloads, (*1)

A simple PHP wrapper for utilising the Trello api., (*2)

Install

Via Composer, (*3)

$ composer require pxgamer/trello-php

Usage

use pxgamer\Trello;

$trello = new Trello\Client('api_key', 'access_token');

All functions return associative arrays., (*4)

// Returns a PHP array of boards that a user is a member of
$trello->getBoardsByUser($username);

```php // Returns an array of lists that are available on a board $trello->getListsFromBoard($board_id);, (*5)

```php
// Returns an array of cards that are in a list
$trello->getCardsFromList($list_id);

```php // Returns an array of data about a specific card $trello->getCard($card_id);, (*6)

```php
// Adds a card (requires a list ID to be specified)
// Example Content:
$content = [
    'name'   => 'Card Title',
    'desc'   => 'Card Description... La la la.',
    'idList' => 'List Id',
    'pos'    => 'bottom',
    'due'    => '2017-01-27',
];

$trello->addCard($content);

Change log

Please see CHANGELOG for more information on what has changed recently., (*7)

Testing

Testing requires a Trello API key in order to access my public boards., (*8)

$ export TRELLO_API_KEY=
$ export TRELLO_ACCESS_TOKEN=
$ composer test

Contributing

Please see CONTRIBUTING and CODE_OF_CONDUCT for details., (*9)

Security

If you discover any security related issues, please email security@pxgamer.xyz instead of using the issue tracker., (*10)

Credits

License

The MIT License (MIT). Please see License File for more information., (*11)

The Versions

06/12 2017

dev-develop

dev-develop

A simple PHP wrapper for utilising the Trello api.

  Sources   Download

MIT

The Requires

  • ext-curl *
  • php ^7.1

 

The Development Requires

06/12 2017

dev-master

9999999-dev

A simple PHP wrapper for utilising the Trello api.

  Sources   Download

MIT

The Requires

  • ext-curl *
  • php ^7.1

 

The Development Requires

by Avatar PXgamer

06/12 2017

v1.2.2

1.2.2.0

A simple PHP wrapper for utilising the Trello api.

  Sources   Download

MIT

The Requires

  • php ^7.1
  • ext-curl *

 

The Development Requires

20/11 2017

v1.2.1

1.2.1.0

A simple PHP wrapper for utilising the Trello api.

  Sources   Download

MIT

The Requires

  • php ^7.1
  • ext-curl *

 

The Development Requires

09/11 2017

v1.2.0

1.2.0.0

A simple PHP wrapper for utilising the Trello api.

  Sources   Download

MIT

The Requires

  • php ^7.1
  • ext-curl *

 

The Development Requires

02/11 2017

v1.1.0

1.1.0.0

A simple PHP wrapper for utilising the Trello api.

  Sources   Download

MIT

The Requires

  • php >=5.6.0
  • ext-curl *

 

The Development Requires

27/01 2017

v1.0.0

1.0.0.0 https://github.com/PXgamer/trello-php

A simple PHP wrapper for utilising the Trello api.

  Sources   Download

MIT

The Requires

  • php >=5.5.0
  • ext-curl *

 

by Avatar PXgamer