PHPackages                             graychen/yii2-jd-deposit - 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. graychen/yii2-jd-deposit

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

graychen/yii2-jd-deposit
========================

a yii2-extendes for jd-deposit

v0.0.1(8y ago)11MITPHP

Since Apr 25Pushed 8y ago1 watchersCompare

[ Source](https://github.com/Graychen/yii2-jd-deposit)[ Packagist](https://packagist.org/packages/graychen/yii2-jd-deposit)[ RSS](/packages/graychen-yii2-jd-deposit/feed)WikiDiscussions master Synced today

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

yii-jd-deposit
==============

[](#yii-jd-deposit)

[![Latest Stable Version](https://camo.githubusercontent.com/28854f4e6ee0493ac2088ce00f864c035c999ae039538cdd89b818bfb228822e/68747470733a2f2f706f7365722e707567782e6f72672f677261796368656e2f796969322d6a642d6465706f7369742f76657273696f6e)](https://packagist.org/packages/graychen/yii2-jd-deposit)[![Total Downloads](https://camo.githubusercontent.com/43f7d17658b64a450ca5175e73c48f7273acc8a87592051bdfdfe348ab99d2cf/68747470733a2f2f706f7365722e707567782e6f72672f677261796368656e2f796969322d6a642d6465706f7369742f646f776e6c6f616473)](https://packagist.org/packages/graychen/yii2-jd-deposit)[![Build Status](https://camo.githubusercontent.com/8dd2d80848b02b95e4870377dcdd853eeab1ed365882b8908a37612c2f237108/68747470733a2f2f7472617669732d63692e6f72672f477261796368656e2f796969322d6a642d6465706f7369742e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/Graychen/yii2-jd-deposit)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/efcf260f79ef61ee69c2092f6e295ba8366a26260e9bcbcb88497011e544bb12/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f477261796368656e2f796969322d6a642d6465706f7369742f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/Graychen/yii2-jd-deposit/?branch=master)[![Code Coverage](https://camo.githubusercontent.com/0fd7df9d4585691bef26591599feed2d91d18f3ff2c39cf912067fa8cf4635a9/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f477261796368656e2f796969322d6a642d6465706f7369742f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/Graychen/yii2-jd-deposit/?branch=master)[![Build Status](https://camo.githubusercontent.com/e245fc7eafc60bbf988d3f33de59504336a3b77294a371f3f9a4957d6bd139ad/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f477261796368656e2f796969322d6a642d6465706f7369742f6261646765732f6275696c642e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/Graychen/yii2-jd-deposit/build-status/master)[![StyleCI](https://camo.githubusercontent.com/795948db0c197aba6ad33a5763f1da10a80c0d230f0eaac1220458df1008bb0a/68747470733a2f2f7374796c6563692e696f2f7265706f732f3130393039373230372f736869656c643f6272616e63683d6d6173746572)](https://styleci.io/repos/109097207)

this is a composer-extends for jd game(这是一个和京东游戏充值对接的模块)

Migrate database
================

[](#migrate-database)

To add a lookup table to your database, following is the sql for lookup:
------------------------------------------------------------------------

[](#to-add-a-lookup-table-to-your-database-following-is-the-sql-for-lookup)

you can use yii migration

```
yii migrate/up --migrationPath=@graychen/yii2/jd/deposit/migrations

```

api
---

[](#api)

Config Module in components part

```
'jd-deposit' => [
    'class' => 'graychen\yii2\jd\deposit\Module',
]

```

Use Actions

```
class jdController extends Controller
{
    public function actions()
    {
        return [
            'create' => [
                'class' => 'graychen\yii2\jd\deposit\createAction'
            ],
             'status' => [
                            'class' => 'graychen\yii2\jd\deposit\statusAction'
             ]
        ];
    }
}

```

backend
-------

[](#backend)

### Config -&gt; main.php

[](#config---mainphp)

```
'controllerMap' => [
        'migrate' => [
            'class' => 'yii\console\controllers\MigrateController',
            'migrationPath' => [
                '@graychen/yii2/jd/deposit/migrations'
            ],
        ],
    ],

```

### Config Module in components part

[](#config-module-in-components-part)

```
'queue' => [
            'class' => 'graychen\yii2\deposit\backend\Module',
]
```

View
----

[](#view)

### after that,you can website `https://localhost/admin/deposit/default`

[](#after-thatyou-can-website-httpslocalhostadmindepositdefault)

ChangeLog
---------

[](#changelog)

[changelog](https://github.com/Graychen/yii2-jd-deposit/blob/master/CHANGELOG.md)

###  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

Maturity54

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

Unknown

Total

1

Last Release

2939d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/4189971?v=4)[Graychen](/maintainers/Graychen)[@Graychen](https://github.com/Graychen)

---

Top Contributors

[![Graychen](https://avatars.githubusercontent.com/u/4189971?v=4)](https://github.com/Graychen "Graychen (9 commits)")

---

Tags

yii2yii2-extension

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/graychen-yii2-jd-deposit/health.svg)

```
[![Health](https://phpackages.com/badges/graychen-yii2-jd-deposit/health.svg)](https://phpackages.com/packages/graychen-yii2-jd-deposit)
```

###  Alternatives

[dmstr/yii2-cookie-consent

Yii2 Cookie Consent Widget

1452.6k](/packages/dmstr-yii2-cookie-consent)

PHPackages © 2026

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