PHPackages                             smartjson/laravel-doudian - 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. smartjson/laravel-doudian

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

smartjson/laravel-doudian
=========================

抖音小店开放平台SDK

v1.0.0(3y ago)03MITPHPPHP &gt;=7.2

Since Jul 10Pushed 3y agoCompare

[ Source](https://github.com/chensongah/laravel-doudian)[ Packagist](https://packagist.org/packages/smartjson/laravel-doudian)[ Docs](https://github.com/chensongah/laravel-doudian)[ RSS](/packages/smartjson-laravel-doudian/feed)WikiDiscussions main Synced today

READMEChangelogDependencies (4)Versions (2)Used By (0)

抖音小店SDK for Laravel
===================

[](#抖音小店sdk-for-laravel)

安装
--

[](#安装)

1、通过`composer`安装扩展包。

```
composer require smartjson/laravel-doudian
```

2、发布配置文件。

```
php artisan vendor:publish --provider="SmartJson\DouDian\DouDianServiceProvider"
```

3、修改`config/doudian.php`中相关配置。

使用
--

[](#使用)

```
$response = app('doudian')->shop->getShopCategory(['cid' => 0]);
dd($response);
```

支持多个授权店铺之间切换，默认不传参为最早授权的店铺

```
app('doudian')->setShopId($shopId)->order->orderDetail(["shop_order_id"=>'5557097346351159555']);
```

### 测试

[](#测试)

```
composer test
```

### 更新记录

[](#更新记录)

查看[CHANGELOG](CHANGELOG.md)获取更详细的更新说明.

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity43

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 80% 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

Unknown

Total

1

Last Release

1455d ago

### Community

Maintainers

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

---

Top Contributors

[![Abbotton](https://avatars.githubusercontent.com/u/16308633?v=4)](https://github.com/Abbotton "Abbotton (60 commits)")[![shubo83](https://avatars.githubusercontent.com/u/3070621?v=4)](https://github.com/shubo83 "shubo83 (15 commits)")

---

Tags

Doudianjinritemaismartjson

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/smartjson-laravel-doudian/health.svg)

```
[![Health](https://phpackages.com/badges/smartjson-laravel-doudian/health.svg)](https://phpackages.com/packages/smartjson-laravel-doudian)
```

###  Alternatives

[craftcms/cms

Craft CMS

3.6k3.6M3.1k](/packages/craftcms-cms)[spatie/laravel-export

Create a static site bundle from a Laravel app

674146.0k6](/packages/spatie-laravel-export)[nativephp/mobile

NativePHP for Mobile

1.1k75.1k93](/packages/nativephp-mobile)[venturedrake/laravel-crm

A free open source CRM built as a package for laravel projects

43311.2k](/packages/venturedrake-laravel-crm)[flarum/core

Delightfully simple forum software.

201.4M2.3k](/packages/flarum-core)[aedart/athenaeum

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

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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