semaio/php-trello-api
最新稳定版本:2.0.0
Composer 安装命令:
composer require semaio/php-trello-api
包简介
PHP client for Trello API v1
关键字:
README 文档
README
This library is based on the great php-trello-api but updated and modernized for usage with PHP 8.2+ and a modern version of Guzzle.
Important: Not all components have been thoroughly tested, especially the webhook behaviour.
Installation
The recommended way is using composer:
$ composer require semaio/php-trello-api
Usage
Basic example for card creation:
namespace MyProject;
use Semaio\TrelloApi;
require 'vendor/autoload.php';
$client_builder = new TrelloApi\ClientBuilder();
$client = $client_builder->build( $trello_api_key, $trello_api_token ); // Change $trello_api_key and $trello_api_token
$card = array(
'name' => 'Card subject',
'desc' => 'Card content',
'pos' => '1',
'idList' => $list_id, // Set a list ID
'labels' => array( $label ),
);
$client->getCardApi()->create( $card );
Support
If you encounter any problems or bugs, please create an issue on GitHub.
Contribution
Any contribution to the development of php-trello-api is highly welcome. The best possibility to provide any code is to open a pull request on GitHub.
License
MIT License. See the LICENSE.txt file for more details.
统计信息
- 总下载量: 6.64k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2020-06-18