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(7y ago)110PHP

Since May 23Pushed 7y 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 2w ago

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 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity64

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

2595d 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

[flarum/core

Delightfully simple forum software.

201.4M2.2k](/packages/flarum-core)[beryllium/cachebundle

Provides an interface to Memcache for Symfony2 applications

32136.0k](/packages/beryllium-cachebundle)[laravel-enso/core

The backend shell of a Laravel Enso application

3464.9k201](/packages/laravel-enso-core)

PHPackages © 2026

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