定制 dsposito/argo 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

dsposito/argo

最新稳定版本:v2.1.0

Composer 安装命令:

composer require dsposito/argo

包简介

A shipping utility.

README 文档

README

Build Status Coverage Status Latest Stable Version

Overview

Argo is a useful utility for shipping-related tasks. In particular, it deduces the shipping carrier, provider and other information based on a provided package tracking number.

In Greek mythology, Argo (in Greek, meaning 'swift') was the ship on which Jason and the Argonauts sailed from Iolcos to retrieve the Golden Fleece. Argo was said to have been planned with the help of Athena - constructed with magical pieces of timber from the sacred forest of Dodona.

Installation

Run the following composer command to add the package to your project:

composer require dsposito/argo 

Alternatively, add "dsposito/argo": "^2.0" to your composer.json file.

Usage

Simply provide a tracking number when initializing a new package instance.

$package = Argo\Package::instance('420 90401 9405 5108 9841 6000 5592 67'); print_r($package); 

Example output:

Argo\Package Object ( [tracking_code_original] => 420 90401 9405 5108 9841 6000 5592 67 [tracking_code] => 9405510898416000559267 [carrier] => Argo\Carrier Object ( [code] => usps [name] => USPS ) [provider] => Argo\Provider Object ( [code] => endicia [name] => Endicia ) ) 

Tests

To run the test suite, run the following commands from the root directory:

composer install vendor/bin/phpunit 

统计信息

  • 总下载量: 167.15k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 23
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 23
  • Watchers: 7
  • Forks: 11
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-01-04

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固