PHPackages                             stru/stru-hyperf-ui - 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. [Templating &amp; Views](/categories/templating)
4. /
5. stru/stru-hyperf-ui

ActiveLibrary[Templating &amp; Views](/categories/templating)

stru/stru-hyperf-ui
===================

Hyperf 的 Auth blade ui组件，配合 stru/stru-hyperf-auth 一起使用

v0.1.0(4y ago)112MITCSS

Since Jan 24Pushed 4y ago1 watchersCompare

[ Source](https://github.com/stru001/hyperf-auth-ui)[ Packagist](https://packagist.org/packages/stru/stru-hyperf-ui)[ RSS](/packages/stru-stru-hyperf-ui/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (5)Versions (11)Used By (0)

stru-hyperf-ui
==============

[](#stru-hyperf-ui)

#### Description

[](#description)

```
使用blade模板实现发布注册，登录视图

```

#### Installation

[](#installation)

```
composer require stru/stru-hyperf-ui

```

#### Publish

[](#publish)

```
php bin/hyperf.php vendor:publish hyperf/view
php bin/hyperf.php vendor:publish stru/stru-hyperf-ui

```

#### Config

[](#config)

```
// config/autoload/view.php
return [
    'engine' => BladeEngine::class,
    'mode' => Mode::TASK,
    'config' => [
        'view_path' => BASE_PATH . '/resources/views/',
        'cache_path' => BASE_PATH . '/runtime/view/',
    ],
];
// ocnfig/autoload/server.php
return [
    'settings' => [
        ...
        // 静态资源
        'document_root' => BASE_PATH . '/public',
        'enable_static_handler' => true,
        // Task
        'task_worker_num' => 2,
        'task_enable_coroutine' => false
    ],
    'callbacks' => [
        ...
        // Task callbacks
        Event::ON_TASK => [Hyperf\Framework\Bootstrap\TaskCallback::class, 'onTask'],
        Event::ON_FINISH => [Hyperf\Framework\Bootstrap\FinishCallback::class, 'onFinish'],
    ]
];

```

#### Use

[](#use)

```
public function showLogin()
{
    return view('auth.login');
}
public function showRegister()
{
    return view('auth.register');
}

```

#### Tips

[](#tips)

```
// 为了使模板内的路由更加灵活，可以配置 config/autolaod/blade.php 文件，自己定义路由

```

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity46

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

Every ~0 days

Total

10

Last Release

1620d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/19748622?v=4)[wenping\_gou](/maintainers/stru001)[@stru001](https://github.com/stru001)

---

Top Contributors

[![stru001](https://avatars.githubusercontent.com/u/19748622?v=4)](https://github.com/stru001 "stru001 (13 commits)")

### Embed Badge

![Health badge](/badges/stru-stru-hyperf-ui/health.svg)

```
[![Health](https://phpackages.com/badges/stru-stru-hyperf-ui/health.svg)](https://phpackages.com/packages/stru-stru-hyperf-ui)
```

###  Alternatives

[hypervel/framework

The Hypervel framework.

1117.8k10](/packages/hypervel-framework)

PHPackages © 2026

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