PHPackages                             syships/php-logistic - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. syships/php-logistic

ActivePhp-extension[Utility &amp; Helpers](/categories/utility)

syships/php-logistic
====================

The logistic SDK for the php

1.0.1(1y ago)010Apache-2.0PHPPHP &gt;=7.2

Since Aug 8Pushed 1y ago1 watchersCompare

[ Source](https://github.com/syships/php-logistic)[ Packagist](https://packagist.org/packages/syships/php-logistic)[ RSS](/packages/syships-php-logistic/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (8)DependenciesVersions (14)Used By (0)

php-logistic
============

[](#php-logistic)

This is a personal plugin for study. It is strongly recomended that you DO NOT use it. This plugin is UNSTABLE.
===============================================================================================================

[](#this-is-a-personal-plugin-for-studyit-is-strongly-recomended-that-you-do-not-use-itthis-plugin-is-unstable)

It is the logistic plugin for php
=================================

[](#it-is-the-logistic-plugin-for-php)

Installation
------------

[](#installation)

The preferred way to install this extension is through [composer](https://getcomposer.org/download/).

Either run

```
php composer.phar require --prefer-dist syships/php-logistic "*"

```

or add

```
"syships/php-logistic": "*"

```

to the require section of your `composer.json` file.

Usage
-----

[](#usage)

Once the extension is installed, simply use it in your code by :

```
require_once __DIR__.'/vendor/autoload.php';

use Symfony\Component\HttpFoundation\Response;
use syships\logistic\LogisticApplication;

$config = [
    'company_name'=>'中通',
    'app_id'=>'app_id',
    'app_secret'=>'app_secret',
    'server_url'=>'http://japi-test.zto.com/',
];
$data = [
    'waybill_code'=>"73100135377958",//运单号
];
$logisticApp = new LogisticApplication($companyName,$config);

if($logisticApp->track($data)){
    $response = new Response(json_encode($logisticApp->getSuccessData()),200,['Content-Type'=>'application/json']);
    $response->send();
}else{
    $response = new Response($logisticApp->getFirstError(),400,['Content-Type'=>'application/json']);
    $response->send();
}

```

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance34

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity42

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~2 days

Total

13

Last Release

621d ago

Major Versions

0.1.0 → 1.0.02024-09-04

### Community

Maintainers

![](https://www.gravatar.com/avatar/ecd1b4142a9d3fef8ded917c81fd548a8d8341733d15d98812117ccf86b18723?d=identicon)[syships](/maintainers/syships)

---

Top Contributors

[![syships](https://avatars.githubusercontent.com/u/101991678?v=4)](https://github.com/syships "syships (71 commits)")

---

Tags

phpextensionLogistic

### Embed Badge

![Health badge](/badges/syships-php-logistic/health.svg)

```
[![Health](https://phpackages.com/badges/syships-php-logistic/health.svg)](https://phpackages.com/packages/syships-php-logistic)
```

###  Alternatives

[rubix/tensor

A library and extension that provides objects for scientific computing in PHP.

2751.4M5](/packages/rubix-tensor)[memio/spec-gen

phpspec extension for better code generation

66204.3k28](/packages/memio-spec-gen)[phpxmlrpc/polyfill-xmlrpc

A pure-php reimplementation of the API exposed by the native XML-RPC extension

12369.8k2](/packages/phpxmlrpc-polyfill-xmlrpc)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
