承接 silinternational/trello-php-client 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

silinternational/trello-php-client

最新稳定版本:0.2.1

Composer 安装命令:

composer require silinternational/trello-php-client

包简介

PHP client library for interacting with Trello API

关键字:

README 文档

README

trello-php-client

PHP client to interact with the Trello API.

We're slowly building out this client as we need the functionality. Initially we only need it for adding accounts to organizations.

This client is built on top of Guzzle, the PHP HTTP Client. Guzzle has a simple way to create API clients by describing the API in a Swagger-like format without the need to implement every method yourself. So adding support for more Trello APIs is relatively simple. If you want to submit a pull request to add another feature, please do. If you don't know how to do that, ask us and we might be able to add it in for you.

Trello API Docs

https://trello.com/docs/

Trello API Authentication

Trello uses a key/token pair to authenticate for API calls. You can get a key/secret at https://trello.com/1/appKey/generate

Install

Installation is simple with Composer. Add "silinternational/trello-php-client": "dev-master" to your composer.json file and update.

Usage

Example:

<?php

use Trello\Organization;

$org = new Organization([
  'key' => '1234567890',
  'token' => 'aasddfffds',
]);

$user = $org->addMember([
    'idOrg' => '5519vgdgh561a4a4b51154123b',
    'email' => 'testuser@domain.org',
    'fullName' => 'Test User',
]);

echo $user['id'];
// 552bfa4aadda3e05254317k

Guzzle Service Client Notes

统计信息

  • 总下载量: 797
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 4
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 4
  • Watchers: 10
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-04-13