PHPackages                             uploadfile/file - 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. uploadfile/file

ActiveProject

uploadfile/file
===============

06PHP

Since Apr 7Pushed 9y agoCompare

[ Source](https://github.com/qq8044023/page)[ Packagist](https://packagist.org/packages/uploadfile/file)[ RSS](/packages/uploadfile-file/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

\#分页

分页组件可以产生基于当前页面的智能「范围」链接，所产生的 HTML 兼容 Bootstrap CSS 框架.

\[TOC\]

\####安装组件 使用 composer 命令进行安装或下载源代码使用。

```
composer require houdunwang/page

```

> HDPHP 框架已经内置此组件，无需要安装

\####根据数量获取分页

```
\houdunwang\page\Page::make(100);

```

\####显示分页

```
\houdunwang\page\Page::show();

```

\####获取所有分页属性 可以获取分页属性，如 文字页码、图形页码、下拉列表页码等

```
\houdunwang\page\Page::all(100);

```

\####设置每页显示条数

```
\houdunwang\page\Page::row(8)->make(100);

```

\####设置页码数量

```
\houdunwang\page\Page::pageNum(5)->make(100);

```

\####自定义url

```
\houdunwang\page\Page::url('list/{page}.html')->make(100,1);

```

\####定义显示文字

```
\houdunwang\page\Page::desc(['pre'=>'上楼', 'next'=>'下楼','first'=>'首页','end'=>'尾页','unit'=>'个'])->make(200,2);

```

\####返回limit语句

```
\houdunwang\page\Page::limit();

```

\####取得所有形式用于定义

```
\houdunwang\page\Page::all(200);

```

\####获取分页的总页数

```
\houdunwang\page\Page::totalPage();

```

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity41

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/966ae9295e85433a0954e04b4138a7d13ea954bbf44f988439e55f07b144d33c?d=identicon)[qq8044023](/maintainers/qq8044023)

---

Top Contributors

[![8044023](https://avatars.githubusercontent.com/u/20453902?v=4)](https://github.com/8044023 "8044023 (3 commits)")

### Embed Badge

![Health badge](/badges/uploadfile-file/health.svg)

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

PHPackages © 2026

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