PHPackages                             pmvc-plugin/cache\_header - 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. pmvc-plugin/cache\_header

ActiveLibrary[Caching](/categories/caching)

pmvc-plugin/cache\_header
=========================

A library help you setup http cache header

0.2.0(5y ago)01.1kMITPHP

Since Jun 22Pushed 5y ago1 watchersCompare

[ Source](https://github.com/pmvc-plugin/cache_header)[ Packagist](https://packagist.org/packages/pmvc-plugin/cache_header)[ Docs](https://github.com/pmvc-plugin/cache_header)[ RSS](/packages/pmvc-plugin-cache-header/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (2)Versions (4)Used By (0)

[![Latest Stable Version](https://camo.githubusercontent.com/42099ef66296276cf44190b88d41a89942f07d8fa3e92def520ab20c4f0dd024/68747470733a2f2f706f7365722e707567782e6f72672f706d76632d706c7567696e2f63616368655f6865616465722f762f737461626c65)](https://packagist.org/packages/pmvc-plugin/cache_header)[![Latest Unstable Version](https://camo.githubusercontent.com/b68005f5dcb2d5120d9eec4681d14f6fdcd6c07e0cb9715a97de28a1cd6433d0/68747470733a2f2f706f7365722e707567782e6f72672f706d76632d706c7567696e2f63616368655f6865616465722f762f756e737461626c65)](https://packagist.org/packages/pmvc-plugin/cache_header)[![Build Status](https://camo.githubusercontent.com/a4f957fc6f9bd192818bde45abd181b2ef7869fa5d0e8b69168f2b6b5bd05b67/68747470733a2f2f7472617669732d63692e6f72672f706d76632d706c7567696e2f63616368655f6865616465722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/pmvc-plugin/cache_header)[![License](https://camo.githubusercontent.com/51e901faa87f0f336e0c2430b72c40081157b654fe3eaa151e80c2bbf5cb7ded/68747470733a2f2f706f7365722e707567782e6f72672f706d76632d706c7567696e2f63616368655f6865616465722f6c6963656e7365)](https://packagist.org/packages/pmvc-plugin/cache_header)[![Total Downloads](https://camo.githubusercontent.com/838f7ca451cd3814b9efe4643d54b4cb76e0d10358bc0f186ab3c420fceede40/68747470733a2f2f706f7365722e707567782e6f72672f706d76632d706c7567696e2f63616368655f6865616465722f646f776e6c6f616473)](https://packagist.org/packages/pmvc-plugin/cache_header)

A Simple Http Cache Header helper
=================================

[](#a-simple-http-cache-header-helper)

===============

Install with Composer
---------------------

[](#install-with-composer)

### 1. Download composer

[](#1-download-composer)

- mkdir test\_folder
- curl -sS  | php

### 2. Install by composer.json or use command-line directly

[](#2-install-by-composerjson-or-use-command-line-directly)

#### 2.1 Install by composer.json

[](#21-install-by-composerjson)

- vim composer.json

```
{
    "require": {
        "pmvc-plugin/cache_header": "dev-master"
    }
}

```

- php composer.phar install

#### 2.2 Or use composer command-line

[](#22-or-use-composer-command-line)

- php composer.phar require pmvc-plugin/cache\_header

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity55

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.

###  Release Activity

Cadence

Every ~688 days

Total

3

Last Release

1875d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6f593111e77142a10224458b0436e6b2d6f3e537f924c03130f0208bd3c4477f?d=identicon)[HillLiu](/maintainers/HillLiu)

---

Top Contributors

[![HillLiu](https://avatars.githubusercontent.com/u/1877738?v=4)](https://github.com/HillLiu "HillLiu (11 commits)")

---

Tags

browsercacheheaderplug-inpmvc

### Embed Badge

![Health badge](/badges/pmvc-plugin-cache-header/health.svg)

```
[![Health](https://phpackages.com/badges/pmvc-plugin-cache-header/health.svg)](https://phpackages.com/packages/pmvc-plugin-cache-header)
```

###  Alternatives

[psr/simple-cache

Common interfaces for simple caching

8.1k727.3M2.1k](/packages/psr-simple-cache)[psr/cache

Common interface for caching libraries

5.2k686.9M1.3k](/packages/psr-cache)[react/cache

Async, Promise-based cache interface for ReactPHP

444112.4M40](/packages/react-cache)[beste/in-memory-cache

A PSR-6 In-Memory cache that can be used as a fallback implementation and/or in tests.

2512.2M6](/packages/beste-in-memory-cache)[anahkiasen/flatten

A package for the Illuminate framework that flattens pages to plain HTML

33313.0k](/packages/anahkiasen-flatten)[rtcamp/nginx-helper

Cleans nginx's fastcgi/proxy cache or redis-cache whenever a post is edited/published. Also provides cloudflare edge cache purging with Cache-Tags.

23817.0k1](/packages/rtcamp-nginx-helper)

PHPackages © 2026

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