PHPackages                             helingfeng/laravel-page-cache - 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. [Caching](/categories/caching)
4. /
5. helingfeng/laravel-page-cache

ActiveLibrary[Caching](/categories/caching)

helingfeng/laravel-page-cache
=============================

1.0.5(6y ago)110PHP

Since May 23Pushed 6y ago1 watchersCompare

[ Source](https://github.com/freedoomcode/laravel-page-cache)[ Packagist](https://packagist.org/packages/helingfeng/laravel-page-cache)[ RSS](/packages/helingfeng-laravel-page-cache/feed)WikiDiscussions master Synced today

READMEChangelog (6)Dependencies (1)Versions (7)Used By (0)

laravel-page-cache
==================

[](#laravel-page-cache)

页面静态文件缓存，加快网站访问速度

安装
--

[](#安装)

使用 Composer 安装

```
composer require  helingfeng/laravel-page-cache 1.0.5
php artisan vendor:publish
```

路由文件中使用
-------

[](#路由文件中使用)

在需要缓存的路由中添加`page_cache`中间件

```
Route::group(['middleware' => ['page_cache']], function($router){
    $router->get('page-demo', function () {
            return 'this page is cached.';
    });
});
```

缓存示例
----

[](#缓存示例)

访问：

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity63

Established project with proven stability

 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

6

Last Release

2546d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2fb3ad2578715bc0e3691074e3d19d064a2cd1726d08ab29f80b22ca9302263a?d=identicon)[helingfeng](/maintainers/helingfeng)

---

Top Contributors

[![helingfeng](https://avatars.githubusercontent.com/u/4921878?v=4)](https://github.com/helingfeng "helingfeng (9 commits)")

### Embed Badge

![Health badge](/badges/helingfeng-laravel-page-cache/health.svg)

```
[![Health](https://phpackages.com/badges/helingfeng-laravel-page-cache/health.svg)](https://phpackages.com/packages/helingfeng-laravel-page-cache)
```

###  Alternatives

[predis/predis

A flexible and feature-complete Redis/Valkey client for PHP.

7.8k305.7M2.4k](/packages/predis-predis)[snc/redis-bundle

A Redis bundle for Symfony

1.0k39.4M67](/packages/snc-redis-bundle)[react/cache

Async, Promise-based cache interface for ReactPHP

444112.4M40](/packages/react-cache)[wp-media/wp-rocket

Performance optimization plugin for WordPress

7431.3M3](/packages/wp-media-wp-rocket)[illuminate/cache

The Illuminate Cache package.

12835.6M1.4k](/packages/illuminate-cache)[colinmollenhour/php-redis-session-abstract

A Redis-based session handler with optimistic locking

6325.6M14](/packages/colinmollenhour-php-redis-session-abstract)

PHPackages © 2026

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