PHPackages                             andy/laypage - 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. andy/laypage

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

andy/laypage
============

use layui pagination with php

29PHP

Since Aug 23Pushed 7y ago1 watchersCompare

[ Source](https://github.com/zhangs919/laypage)[ Packagist](https://packagist.org/packages/andy/laypage)[ RSS](/packages/andy-laypage/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependenciesVersions (1)Used By (0)

[![Latest Stable Version](https://camo.githubusercontent.com/6bd8b6ccad767ad253056332d01f93645777da9d9c0baea057c218f325b4142a/68747470733a2f2f706f7365722e707567782e6f72672f616e64792f6c6179706167652f762f737461626c65)](https://packagist.org/packages/andy/laypage)[![Total Downloads](https://camo.githubusercontent.com/587b8435332815be3f80940e02cb9de27acfb03e2943a872ed0c354fc8337690/68747470733a2f2f706f7365722e707567782e6f72672f616e64792f6c6179706167652f646f776e6c6f616473)](https://packagist.org/packages/andy/laypage)[![Latest Unstable Version](https://camo.githubusercontent.com/be607693b32ca9030cce6eec851c5004143e3a4f668e61c8fccca2862dfe20cf/68747470733a2f2f706f7365722e707567782e6f72672f616e64792f6c6179706167652f762f756e737461626c65)](https://packagist.org/packages/andy/laypage)[![License](https://camo.githubusercontent.com/2b63e9ee178d305d44d02dbd413b730729d990514f68486e88cc145faba5b4ee/68747470733a2f2f706f7365722e707567782e6f72672f616e64792f6c6179706167652f6c6963656e7365)](https://packagist.org/packages/andy/laypage)

#### 项目介绍

[](#项目介绍)

layui 分页封装 基于PHP原生

#### 用法

[](#用法)

```
    $count = 100;
    $extraParams = [
        'param1' => 'value1',
        'param2' => 'value2'
        // ...
    ];
    $page = lay_page($count, '', ['cid' => 1]); // layui 分页渲染

    $list = []; // 数据列表
```

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity40

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.

### Community

Maintainers

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

---

Top Contributors

[![zhangs919](https://avatars.githubusercontent.com/u/6269675?v=4)](https://github.com/zhangs919 "zhangs919 (8 commits)")

### Embed Badge

![Health badge](/badges/andy-laypage/health.svg)

```
[![Health](https://phpackages.com/badges/andy-laypage/health.svg)](https://phpackages.com/packages/andy-laypage)
```

###  Alternatives

[inovector/mixpostapp

Standalone application with the Laravel Package of Mixpost Lite pre-installed and configured

1232.9k](/packages/inovector-mixpostapp)

PHPackages © 2026

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