PHPackages                             lihuababa/shaanxi-network-freight - 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. lihuababa/shaanxi-network-freight

ActiveLibrary

lihuababa/shaanxi-network-freight
=================================

陕西网络货运接口对接

1.0.7(4y ago)03MITPHPPHP &gt;=7.2

Since Apr 8Pushed 3y ago1 watchersCompare

[ Source](https://github.com/lihuaba/shaanxi-network-freight)[ Packagist](https://packagist.org/packages/lihuababa/shaanxi-network-freight)[ RSS](/packages/lihuababa-shaanxi-network-freight/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (3)Versions (9)Used By (0)

陕西省网络货运省厅接口对接laravel扩展包
=======================

[](#陕西省网络货运省厅接口对接laravel扩展包)

[![Latest Stable Version](https://camo.githubusercontent.com/7e45b8a9506875c3428df871c460d3d75775c2456a02714f955030e9f0e5f732/687474703a2f2f706f7365722e707567782e6f72672f6c69687561626162612f736861616e78692d6e6574776f726b2d667265696768742f76)](https://packagist.org/packages/lihuababa/shaanxi-network-freight)[![Total Downloads](https://camo.githubusercontent.com/cde68431b059ea6f0d617a9cb024e5e4cafc37a4a207c4f54d83a938e2388422/687474703a2f2f706f7365722e707567782e6f72672f6c69687561626162612f736861616e78692d6e6574776f726b2d667265696768742f646f776e6c6f616473)](https://packagist.org/packages/lihuababa/shaanxi-network-freight)[![Latest Unstable Version](https://camo.githubusercontent.com/8b01c1130e8a60e6c27d92b3c077781e0dec49f7bbc19245530d37ebadb3d56b/687474703a2f2f706f7365722e707567782e6f72672f6c69687561626162612f736861616e78692d6e6574776f726b2d667265696768742f762f756e737461626c65)](https://packagist.org/packages/lihuababa/shaanxi-network-freight)[![License](https://camo.githubusercontent.com/bbdeeb8223806aa7c47908b72ee628c8c0beeade6378337fe37684fe216375d9/687474703a2f2f706f7365722e707567782e6f72672f6c69687561626162612f736861616e78692d6e6574776f726b2d667265696768742f6c6963656e7365)](https://packagist.org/packages/lihuababa/shaanxi-network-freight)[![PHP Version Require](https://camo.githubusercontent.com/95cea4f7763ca101e81df33429619e860178d7a79172dd38f3e788d1c285ab25/687474703a2f2f706f7365722e707567782e6f72672f6c69687561626162612f736861616e78692d6e6574776f726b2d667265696768742f726571756972652f706870)](https://packagist.org/packages/lihuababa/shaanxi-network-freight)

介绍
==

[](#介绍)

shaanxi-network-freight 是陕西省网络货运监管平台的一个SDK，在官方只有JAVA的SDK，而PHP中的加密方式与JAVA不同导致上传不成功，为了解决此问题，自己写了个SDK，如有任何问题请发送邮件至

要求
==

[](#要求)

- php版本:&gt;=7.2
- laravel版本: Laravel6+

安装
==

[](#安装)

```
composer require lihuababa/shaanxi-network-freight
```

在非laravel项目中使用
==============

[](#在非laravel项目中使用)

```
// 上报司机
app(NetworkFreightService::class)->reportDriver([
    具体字段请以陕西省监管平台的文档为准
]);
// 上报车辆
app(NetworkFreightService::class)->reportVehicle([
    具体字段请以陕西省监管平台的文档为准
]);
// 上报资金流水
app(NetworkFreightService::class)->reportCapitalFlow([
    具体字段请以陕西省监管平台的文档为准
]);
// 上报资金流水
app(NetworkFreightService::class)->reportTransport([
    具体字段请以陕西省监管平台的文档为准
]);
```

在laravel项目中使用
=============

[](#在laravel项目中使用)

安装成功后执行

```
php artisan vendor:publish --provider="ShaanXiNetworkFreight\NetworkFreightServiceProvider"
```

会自动将`networkFreight.php`添加到您项目的配置文件当中

相关配置
====

[](#相关配置)

### 环境变量

[](#环境变量)

默认环境变量为`production`

```
NETWORK_FREIGHT_ENV=dev
```

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity52

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 ~11 days

Recently: every ~19 days

Total

8

Last Release

1783d ago

### Community

Maintainers

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

---

Top Contributors

[![lihuaba](https://avatars.githubusercontent.com/u/19554259?v=4)](https://github.com/lihuaba "lihuaba (3 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/lihuababa-shaanxi-network-freight/health.svg)

```
[![Health](https://phpackages.com/badges/lihuababa-shaanxi-network-freight/health.svg)](https://phpackages.com/packages/lihuababa-shaanxi-network-freight)
```

###  Alternatives

[neuron-core/neuron-ai

The PHP Agentic Framework.

1.8k245.3k21](/packages/neuron-core-neuron-ai)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3731.2M42](/packages/tencentcloud-tencentcloud-sdk-php)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

255.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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