PHPackages                             shopex/prism-utils - 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. shopex/prism-utils

ActiveLibrary[API Development](/categories/api)

shopex/prism-utils
==================

SDK for shopex prism platform

v1.0(11y ago)0131MITPHPPHP &gt;=5.0.0

Since May 21Pushed 11y ago24 watchersCompare

[ Source](https://github.com/shopex/prism-utils)[ Packagist](https://packagist.org/packages/shopex/prism-utils)[ Docs](http://github.com/shopex/prism-php)[ RSS](/packages/shopex-prism-utils/feed)WikiDiscussions master Synced 1mo ago

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

prism-utils
===========

[](#prism-utils)

简介
--

[](#简介)

这个工具的作用是封装prism对外的接口调用。 后续会加入一些工具，比如初始化等。

使用方法
----

[](#使用方法)

- 单个接口调用：

```
        $caller = new PrismLibAdminUserManager($prismHost, $key, $secret);
        return $caller->info($requestParams);

```

- 初始化脚本调用方法

```
$params = [
    'prismHost'=>'http://localhost:8080',
    'adminKey' => "vznb4obr",
    'adminSecret' => "xf727z5qkwfr4edy6qab",
    'userEmail'    => 'test@test.com',
    'userPassword' => 'xinxin123',
    'app' => [
        'bbc' => ['name' => 'bbc', 'keyNum' => 2]
        ],
    'api' => [
        'aftersales'=>[
            'name' => 'aftersales',
            'url' => 'http://localhost/json/aftersales.json',
            'conf' => ['token'=>'']
            ]
        ],
    'bind' => ['bbc'=>['aftersales']]
    ];
$tool = new PrismLibInitTool;
$result = $tool->init($params);
print_r($result);

```

如果有疑问可以看tests目录下的示例

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity58

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

4015d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0a88cbbb3f74b9d7b3f481f63968064a5ed6c7c263feb984a80268e9287f163c?d=identicon)[shopex](/maintainers/shopex)

---

Tags

apiprismshopex

### Embed Badge

![Health badge](/badges/shopex-prism-utils/health.svg)

```
[![Health](https://phpackages.com/badges/shopex-prism-utils/health.svg)](https://phpackages.com/packages/shopex-prism-utils)
```

###  Alternatives

[shopex/prism

SDK for shopex prism platform

1720.5k1](/packages/shopex-prism)[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)
