emagedev/trello
Composer 安装命令:
composer require emagedev/trello
包简介
Connect Your Magento™ 1.9 Orders With Trello™ Board
README 文档
README
Control Your Orders Statuses With Trello™
Update coming soon
This module can help you to view your order's statuses realtime with Trello™ board updates. All you need to do is to set up your API key & token and grab a board ID. You can read how to set up module here.
As for now, you cannot control your Magento™ orders using Trello™ Board.
Will be released about 4th of March.
Also, this module provide simple API methods to interact with Trello™. If you want to know more, see here.
# Setting Up
To set up a module, you should log in into your admin panel (if you already logged in, you probably should log out first). Then go to system → configuration. In sidebar, find Trello API under services tab.
To set up token and access key, go to https://trello.com/app-key, copy a key ang generate token (there's a link under token description). Paste key and token to the corresponding fields.
Then, create or open in browser one of existing Trello™ boards, click the "show menu" button
if menu not opened, click "More" → "Print and Export" and then select "Export as JSON".
The JSON document will be opened in your browser, you need to copy the value of id field, it is like
id: "0123456789abcdef12345678", then paste that id (like 0123456789abcdef12345678) into
Board ID field inside Order Status box.
# API Methods
# Mage::getSingleton('trello')->createCard($params)
Creates a card with following params.
Called API method: https://developers.trello.com/v1.0/reference#cards-2
# Mage::getSingleton('trello')->updateCard($cardId, $params)
Updates a card with cardId with following params.
Called API method: https://developers.trello.com/v1.0/reference#cards-1
# Card Params
Params should be passed as associative array with following keys to method:
name(string)Card namedesc(string)Card detailed description in full viewclosedIs card makred as closedidMembersList of members that connected to this cardidAttachmentCoverId of attachment that used as card coveridListId of list to which card belongsidLabelsId of labels (tags) for this cardidBoardId of board on which card should appearposCard position in listdueDue datedueCompleteMark due date as completesubscribed
Translations
Packaged with american english (en_US) and russian (ru_RU) translations.
Unit Testing
Most of API methods are covered, as well as order helpers. Unit tests provided by EcomDev_PHPUnit.
Known Issues
- Sometimes order card may not be created or updated, because we hardly limit execution time to keep your store fast. This probably will be fixed in near future, as we release a scheduling module for queues.
To Do
- Add dependency for scheduled running of API calls, with TTL and retries
- Maybe using RabbitMQ
- Opposite direction API - update orders when cards updated
N.B. You can update all cards at any time using action in admin order grid.
emagedev/trello 适用场景与选型建议
emagedev/trello 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 140 次下载、GitHub Stars 达 2, 最近一次更新时间为 2017 年 12 月 30 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 emagedev/trello 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 emagedev/trello 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 140
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 9
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: BSD-3-Clause
- 更新时间: 2017-12-30