PHPackages                             oswin.hu/zg\_dream - 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. oswin.hu/zg\_dream

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

oswin.hu/zg\_dream
==================

基于laravel系统的周公解梦应用

v1.0.1(3y ago)531MITPHPPHP &gt;=7.4

Since Jul 18Pushed 3y ago1 watchersCompare

[ Source](https://github.com/oswin-hu/zhougong_dream)[ Packagist](https://packagist.org/packages/oswin.hu/zg_dream)[ Docs](https://github.com/oswin-hu/zhougong_dream)[ RSS](/packages/oswinhu-zg-dream/feed)WikiDiscussions master Synced 3w ago

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

说明
==

[](#说明)

基于laravel系统的周公解梦数据接口

安装
==

[](#安装)

```
composer require 'oswin/zg_dream' ^1.0

```

生成数据迁移文件

```
php artisan vendor:publish

选择 "Provider: ZGDream\Providers\ZgDreamProvider" 或者 “Tag: laravel-zg-dream” 对应的编号输入，完成迁移数据的准备

```

执行一下命令, 进行迁移数据表 （数据表的建立）

```
php artisan migrate

```

执行一下命令, 填充周公解梦数据

```
php artisan db:seed --class=ZGDreamSeeder

```

使用说明
====

[](#使用说明)

```
//根据实际情况，基本上用框架（如 Laravel）的话不需要手动引入
//require 'vendor/autoload.php';

use ZGDream\Facades\ZGDream;

//关键词查询列表
$list = ZGDream::search('亿万富豪');
print_r($list);

//根据ID获取详细的内容
$detail = ZGDream::details(1);
print_r($detail);
```

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity47

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

1445d ago

### Community

Maintainers

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

---

Top Contributors

[![oswin-hu](https://avatars.githubusercontent.com/u/19816897?v=4)](https://github.com/oswin-hu "oswin-hu (3 commits)")

---

Tags

Zhou GongZhou Gong DreamZhou Gong Dream Interpretation

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/oswinhu-zg-dream/health.svg)

```
[![Health](https://phpackages.com/badges/oswinhu-zg-dream/health.svg)](https://phpackages.com/packages/oswinhu-zg-dream)
```

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M346](/packages/psalm-plugin-laravel)[laravel/ai

The official AI SDK for Laravel.

1.0k3.2M188](/packages/laravel-ai)[illuminate/queue

The Illuminate Queue package.

21332.6M1.6k](/packages/illuminate-queue)[pressbooks/pressbooks

Pressbooks is an open source book publishing tool built on a WordPress multisite platform. Pressbooks outputs books in multiple formats, including PDF, EPUB, web, and a variety of XML flavours, using a theming/templating system, driven by CSS.

45444.2k1](/packages/pressbooks-pressbooks)[illuminate/session

The Illuminate Session package.

9939.3M847](/packages/illuminate-session)[flarum/core

Delightfully simple forum software.

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

PHPackages © 2026

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