PHPackages                             myhayo/walle-sdk - 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. myhayo/walle-sdk

ActiveLibrary[API Development](/categories/api)

myhayo/walle-sdk
================

php sdk of walle-server

v1.0.0(5y ago)063MITPHPPHP &gt;=7.0.0

Since Oct 23Pushed 5y ago2 watchersCompare

[ Source](https://github.com/myhayo/walle-sdk)[ Packagist](https://packagist.org/packages/myhayo/walle-sdk)[ Docs](https://github.com/myhayo/walle-sdk)[ RSS](/packages/myhayo-walle-sdk/feed)WikiDiscussions master Synced yesterday

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

walle-sdk
=========

[](#walle-sdk)

php sdk of myhayo/walle-server

Usage
-----

[](#usage)

- 首先确保安装好了laravel

```
composer require myhayo/walle-sdk

```

- 然后运行下面的命令来发布资源：

```
php artisan vendor:publish --provider="Myhayo\Walle\Providers\WalleServiceProvider"

```

- 修改对应的env配置：

```
WALLE_SERVICE:瓦力服务器域名
WALLE_SECRECT_KEY:此项目对应的Secrect-Key
WALLE_APP_TAG:此项目对应的唯一标记

```

最后，就可以愉快的使用了

Class
-----

[](#class)

\#####基础类有2个:

- BasePkg 基包:

    - setDefinedBasePkgTag() 自定义基包tag
    - setDefaultBasePkgTag() 走默认规则基包tag
- ExtraPkg 渠道扩展包:

    - setDefaultExtraPkgTag() 自定义扩展包tag
    - setDefinedExtraPkgTag() 走默认规则扩展包tag
    - setChannel() 设置渠道【自定义tag才需要单独设置】
    - setParams() 设置额外参数【如果有】

FUNCTIONS
---------

[](#functions)

- 上传基包并指定版本:

```
$basePkg = new BasePkg();
$basePkg->setDefinedBasePkgTag("****");
// or $basePkg->setDefaultBasePkgTag(10);
$walle->uploadBasePkg($basePkg, $filePath)

```

- 分页查询基包列表:

```
$walle->getBasePkgList($page, $limit)

```

- 查询最新版本的基包tag:

```
$walle->getNewestBasePkg()

```

- 指定基包和渠道，生成对应渠道扩展包

```
$basePkg = new BasePkg();
$basePkg->setDefinedBasePkgTag("****");
// or $basePkg->setDefaultBasePkgTag(10);
generateExtraPkg($basePkg, ['official','vivo'],  1, 'pid=123')

```

- 分页查询\[指定/所有\]基包渠道扩展包列表:

```
$walle->getExtraPkgList(1, 10, 'your_baseTag')

```

- 分页查询最新渠道扩展包列表:

```
$walle->getNewestExtraPkgList(1, 10)

```

- 获取分享链接:

```
$basePkg = new BasePkg();
$basePkg->setDefinedBasePkgTag("****");
// or $basePkg->setDefaultBasePkgTag(10);

$extraPkg = new ExtraPkg();
$extraPkg->setDefinedExtraPkgTag("****");
$extraPkg->setChannel('official')
$extraPkg->setParams('pid=123')
// or $basePkg->setDefaultExtraPkgTag($basePkg, 'official','pid=123');

$walle->getShareUrl($basePkg,$extraPkg)

```

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity48

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

2028d ago

### Community

Maintainers

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

![](https://www.gravatar.com/avatar/79c461b27920e6d10d09749cd6e9cf2fc17cbb48b10f3de78642d1a1ac29f495?d=identicon)[yyyyyoly](/maintainers/yyyyyoly)

---

Top Contributors

[![Yyyyyoly](https://avatars.githubusercontent.com/u/12965001?v=4)](https://github.com/Yyyyyoly "Yyyyyoly (1 commits)")

### Embed Badge

![Health badge](/badges/myhayo-walle-sdk/health.svg)

```
[![Health](https://phpackages.com/badges/myhayo-walle-sdk/health.svg)](https://phpackages.com/packages/myhayo-walle-sdk)
```

###  Alternatives

[openai-php/laravel

OpenAI PHP for Laravel is a supercharged PHP API client that allows you to interact with the Open AI API

3.7k7.6M74](/packages/openai-php-laravel)[statamic/cms

The Statamic CMS Core Package

4.8k3.2M720](/packages/statamic-cms)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3731.2M42](/packages/tencentcloud-tencentcloud-sdk-php)[nickurt/laravel-postcodeapi

Universal PostcodeApi for Laravel 11.x/12.x/13.x

97221.2k](/packages/nickurt-laravel-postcodeapi)[mozex/anthropic-laravel

Anthropic PHP for Laravel is a supercharged PHP API client that allows you to interact with the Anthropic API

71226.4k1](/packages/mozex-anthropic-laravel)[scriptdevelop/whatsapp-manager

Paquete para manejo de WhatsApp Business API en Laravel

762.6k](/packages/scriptdevelop-whatsapp-manager)

PHPackages © 2026

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