PHPackages                             wzj177/webman-view-layout - 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. wzj177/webman-view-layout

ActiveLibrary

wzj177/webman-view-layout
=========================

Webman plugin wzj177/webman-view-layout

v1.0.1(1y ago)028[1 issues](https://github.com/wzj177/webman-view-layout/issues)MITPHP

Since Dec 30Pushed 1y ago1 watchersCompare

[ Source](https://github.com/wzj177/webman-view-layout)[ Packagist](https://packagist.org/packages/wzj177/webman-view-layout)[ RSS](/packages/wzj177-webman-view-layout/feed)WikiDiscussions main Synced 1mo ago

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

webman view layout
===================

[](#webman-view-layout-)

为webman 原始视图提供模板布局功能。

特性
==

[](#特性)

- 支持模板布局
- 支持模板缓存

使用
--

[](#使用)

- 在`config/view.php`或在应用插件的`plugin/{name}/config/view.php`里配置:

```
return [
    'handler' => \Wzj177\WebmanViewLayout\LayoutRaw::class,
    'options' => [
    ]
];
```

- 新建\_layout.html

    默认\_layout.html模板文件放在`{resources}/views/_layout.html`(`app/view`或者`plugin/{name}/view`)，demo参考下面。

注意
--

[](#注意)

1. 如果应用插件里admin下的view目录下没有`_layout.html`模板文件，则默认使用webman admin 插件里的 `_layout.html`模板文件。如果都没有没有就使用原始的视图。

`_layout.html` demo
-------------------

[](#_layouthtml-demo)

```
>

```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance41

Moderate activity, may be stable

Popularity8

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity39

Early-stage or recently created project

 Bus Factor1

Top contributor holds 50% 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

2

Last Release

496d ago

### Community

Maintainers

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

---

Top Contributors

[![jiechengyang](https://avatars.githubusercontent.com/u/33148475?v=4)](https://github.com/jiechengyang "jiechengyang (1 commits)")[![wzj177](https://avatars.githubusercontent.com/u/189321723?v=4)](https://github.com/wzj177 "wzj177 (1 commits)")

### Embed Badge

![Health badge](/badges/wzj177-webman-view-layout/health.svg)

```
[![Health](https://phpackages.com/badges/wzj177-webman-view-layout/health.svg)](https://phpackages.com/packages/wzj177-webman-view-layout)
```

PHPackages © 2026

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