bariew/chita
Composer 安装命令:
composer require bariew/chita
包简介
chita API
README 文档
README
chita API client.
Description
Israeli Chita delivery company API client
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist bariew/chita
or add
"bariew/chita": "dev-master"
to require the section of your composer.json file.
Usage
$chita = Api::instance($number, $token);
// Create Shipment
$shipment = Shipment::fromArray([
'type' => "איסוף",
'code' => 140
//... etc
]);
$result = $chita->create($shipment->toApiData());
// get shipment label pdf to print
file_put_contents('/my/file/path.pdf', $chita>label(123456));
// cancel shipment
$result = $chita->cancel(56789);
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: BSD-3-Clause
- 更新时间: 2025-08-29