jupitern/ctt
Composer 安装命令:
composer require jupitern/ctt
包简介
ctt (portuguese post office) mail tracker, package tracker
README 文档
README
CTT (Portugal post office) tracking for PHP.
track mail and packages using CTT service (Portuguese post office) https://www.ctt.pt/feapl_2/app/open/objectSearch/objectSearch.jspx
Requirements
PHP 5.6 or higher.
Installation
Include jupitern/ctt in your project, by adding it to your composer.json file.
{
"require": {
"jupitern/ctt": "1.*"
}
}
Usage
$ctt = new \Jupitern\Ctt\CttTracking(); $res = $ctt->trackObjects(['ED123456789PT', 'LX123456789PT']); var_dump($res); /* output: Array ( [ED123456789PT] => Array ( [status] => 6 [statusText] => Objeto não encontrado ) [LX123456789PT] => Array ( [status] => 4 [statusText] => Objeto entregue ) ) */
ChangeLog
- initial release
Contributing
- welcome to discuss a bugs, features and ideas.
License
jupitern/ctt is release under the MIT license.
You are free to use, modify and distribute this software
统计信息
- 总下载量: 50
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 6
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2018-02-02