PHPackages                             rrbrr/guanjiapo - 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. [API Development](/categories/api)
4. /
5. rrbrr/guanjiapo

ActiveLibrary[API Development](/categories/api)

rrbrr/guanjiapo
===============

An sdk of guanjiapo for php.

v1.0(6y ago)04Apache-2.0PHPPHP &gt;=5.6.0

Since Mar 17Pushed 6y ago1 watchersCompare

[ Source](https://github.com/caoygx/guanjiapo)[ Packagist](https://packagist.org/packages/rrbrr/guanjiapo)[ RSS](/packages/rrbrr-guanjiapo/feed)WikiDiscussions master Synced today

READMEChangelog (1)DependenciesVersions (2)Used By (0)

 **管家婆php sdk**

使用方法
----

[](#使用方法)

1. 使用`composer`安装库：

```
composer require rrbrr/guanjiapo

```

2. 使用方法

```
        $config    = [];
        $config['appkey']                = '68943923115886070418838901844741';
        $config['app_secret']            = 'ONxYDyNaCoyTzsp83JoQ3YYuMPHxk3j7';
        $config['sign_key']              = 'lezitiancheng';
        $config['auth_code']             = 'yA7b3q04EUssKGisMBQRr6x2NmFG5OQa';
        $config['api_link']              = 'http://ca.mygjp.com:8002/api';
        $config['companyName']           = 'TestMall';
        $config['userName']              = '进品测试';
        $config['userpass']              = 'grasp@101';
        $config['get_token_url']         = 'http://ca.mygjp.com:8002/api/token';
        $config['redirect_url']          = 'http://' . $_SERVER['HTTP_HOST'] . '/GetToken.php';
        $config['get_auth_code_url']     = 'http://ca.mygjp.com:666/account/login?appkey=' . $config['appkey'] . '&redirect_url=' . $config['redirect_url'] . '&keyword=test';
        $config['get_auth_code_api_url'] = 'http://ca.mygjp.com:8002/api/login';//线上 http://apigateway.wsgjp.com.cn/api/login
        $config['get_token_api_url']     = 'http://ca.mygjp.com:8002/api/token ';//线上 http://apigateway.wsgjp.com.cn/api/token
        $config['shopkey']               = '74d51f5d-e6ea-4dea-b213-bf33b965592d';
        $config['apiurl']                = 'http://ca.mygjp.com:8002/api';

        $this->sdk = new Sdk($config);
        $param = [];// 这个变量里存放的是将要上传的数据，具体数据字段内容参见管家婆文档
        $r = $this->sdk->uploadProduct($param);

```

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

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

2245d ago

### Community

Maintainers

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

---

Tags

apiguanjiapo

### Embed Badge

![Health badge](/badges/rrbrr-guanjiapo/health.svg)

```
[![Health](https://phpackages.com/badges/rrbrr-guanjiapo/health.svg)](https://phpackages.com/packages/rrbrr-guanjiapo)
```

###  Alternatives

[m165437/laravel-blueprint-docs

API Blueprint Renderer for Laravel

22779.0k](/packages/m165437-laravel-blueprint-docs)

PHPackages © 2026

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