PHPackages                             arthuryinzhen/laravel-jd-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. arthuryinzhen/laravel-jd-logistic

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

arthuryinzhen/laravel-jd-logistic
=================================

A laravel package of logistic for jd

0781PHP

Since Jan 12Pushed 7y ago1 watchersCompare

[ Source](https://github.com/Arthuryin/laravel-jd-logistic)[ Packagist](https://packagist.org/packages/arthuryinzhen/laravel-jd-logistic)[ RSS](/packages/arthuryinzhen-laravel-jd-logistic/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

laravel-jd-logistic
===================

[](#laravel-jd-logistic)

Laravel 5 京东物流接口

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

[](#installation)

The ActionLog Service Provider can be installed via [Composer](http://getcomposer.org) by requiring the `arthuryinzhen/laravel-jd-logistic` package and setting the `minimum-stability` to `dev` (required for Laravel 5) in your project's `composer.json`.

```
{
    "require": {
           "arthuryinzhen/laravel-jd-logistic": "dev-master"
    },

}
```

or

Require this package with composer:

```
composer require arthuryinzhen/laravel-jd-logistic dev-master

```

Update your packages with `composer update` or install with `composer install`.

Usage
-----

[](#usage)

To use the ActionLog Service Provider, you must register the provider when bootstrapping your Laravel application. There are essentially two ways to do this.

Find the `providers` key in `config/app.php` and register the ActionLog Service Provider.

```
    'providers' => [
        // ...

        'Arthuryinzhen\JDLogistic\JDLogisticServiceProvider',
    ]
```

for Laravel 5.1+

```
    'providers' => [
        // ...
        Arthuryinzhen\JDLogistic\JDLogisticServiceProvider::class,
    ]
```

Find the `aliases` key in `config/app.php`.

```
    'aliases' => [
        // ...
        'JDLogistic' => 'Arthuryinzhen\JDLogistic\Facades\JDLogisticFacade',
    ]
```

for Laravel 5.1+

```
    'aliases' => [
        // ...
        'JDLogistic' => Arthuryinzhen\JDLogistic\Facades\JDLogisticFacade::class,
    ]
```

Configuration
-------------

[](#configuration)

To use your own settings, publish config.

`$ php artisan vendor:publish`

`config/JdLogistic.php`

```
	'client' => [
            'appKey'      => env('JD_CLIENT_APP_KEY', '26EAC2509056EB38FB623D9A49296D2C'),
            'appSecret'   => env('JD_CLIENT_APP_SECRET', '1abdc5a97ecb4594ab7b772296bcfbbd'),
            'accessToken' => env('JD_CLIENT_ACCESS_TOKEN', '1f1d3048-220a-484d-ad93-f3808d9aacc1'),
            'serverUrl'   => env('JD_CLIENT_SERVER_URL', 'https://api.jd.com/routerjson'),
        ],
```

Last Step
---------

[](#last-step)

modify you `.env`

```
JD_CLIENT_APP_KEY=
JD_CLIENT_APP_SECRET=
JD_CLIENT_ACCESS_TOKEN=
JD_CLIENT_SERVER_URL="https://api.jd.com/routerjson"
```

Demo
----

[](#demo)

```
public function getTest(Request $request)
{
    $array = $request->input();
    $lotus = new JDLogisticRepository();
    $result = $lotus->ldopWaybillReceiveRequest($array);
    dd($result);
}

```

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community5

Small or concentrated contributor base

Maturity38

Early-stage or recently created project

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/0401b7832f7ed404f26c8477e4b32131b08343f21827396edd99bb781bf20c5b?d=identicon)[Arthuryin](/maintainers/Arthuryin)

### Embed Badge

![Health badge](/badges/arthuryinzhen-laravel-jd-logistic/health.svg)

```
[![Health](https://phpackages.com/badges/arthuryinzhen-laravel-jd-logistic/health.svg)](https://phpackages.com/packages/arthuryinzhen-laravel-jd-logistic)
```

###  Alternatives

[96qbhy/agora

声网php-SDK

121.5k](/packages/96qbhy-agora)

PHPackages © 2026

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