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
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
- Tutorial on developing an API client with Guzzle Web Services: http://www.phillipshipley.com/2015/04/creating-a-php-nexmo-api-client-using-guzzle-web-service-client-part-1/
- Presentation by Jeremy Lindblom: https://speakerdeck.com/jeremeamia/building-web-service-clients-with-guzzle-1
- Example by Jeremy Lindblom: https://github.com/jeremeamia/sunshinephp-guzzle-examples
- Parameter docs in source comments: https://github.com/guzzle/guzzle-services/blob/master/src/Parameter.php
silinternational/trello-php-client 适用场景与选型建议
silinternational/trello-php-client 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 797 次下载、GitHub Stars 达 4, 最近一次更新时间为 2015 年 04 月 13 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「trello」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 silinternational/trello-php-client 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 silinternational/trello-php-client 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 silinternational/trello-php-client 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
PHP Trello API Wrapper (fork for php7+) from https://github.com/ashwinks/Trello-API-PHP-Wrapper
A Laravel wrapper and facade package for the Trello API
PHP-based Trello API Wrapper, based on mattzuba/php-trello
Trello API v2 client
PHP Trello API Wrapper (+missing models) from https://github.com/sanovskiy/Trello-API-PHP-Wrapper
Trello API v2 client
统计信息
- 总下载量: 797
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 4
- 点击次数: 6
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-04-13