PHPackages                             matthewbdaly/laravel-etag-middleware - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. matthewbdaly/laravel-etag-middleware

ActiveLibrary[HTTP &amp; Networking](/categories/http)

matthewbdaly/laravel-etag-middleware
====================================

A Laravel middleware for adding ETags to HTTP requests to improve response times

1.3.6(3y ago)64326.0k—0.7%13[1 PRs](https://github.com/matthewbdaly/laravel-etag-middleware/pulls)2MITPHPCI failing

Since Feb 7Pushed 2y ago3 watchersCompare

[ Source](https://github.com/matthewbdaly/laravel-etag-middleware)[ Packagist](https://packagist.org/packages/matthewbdaly/laravel-etag-middleware)[ RSS](/packages/matthewbdaly-laravel-etag-middleware/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (7)Dependencies (7)Versions (23)Used By (2)

laravel-etag-middleware
=======================

[](#laravel-etag-middleware)

A Laravel middleware for adding ETags to HTTP requests to improve response times

[![Build Status](https://camo.githubusercontent.com/06ab9fbf79ec9c3b0187f67f7e637dc167d17999de641c78038768fd2cd541f4/68747470733a2f2f7472617669732d63692e6f72672f6d6174746865776264616c792f6c61726176656c2d657461672d6d6964646c65776172652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/matthewbdaly/laravel-etag-middleware)[![Coverage Status](https://camo.githubusercontent.com/21e1ee2c0b227da26ff91b4e2a6d1fd3e7980d083c8931ecb6b5279054f3ec4a/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f6d6174746865776264616c792f6c61726176656c2d657461672d6d6964646c65776172652f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/matthewbdaly/laravel-etag-middleware?branch=master)[![StyleCI](https://camo.githubusercontent.com/e00a98a09f7e691f28b960c8898227a32641e6c49987ef2af23831dfca274ae1/68747470733a2f2f7374796c6563692e696f2f7265706f732f38313235343239312f736869656c643f6272616e63683d6d6173746572)](https://styleci.io/repos/81254291)

Installation
------------

[](#installation)

Run the following command to install the package:

```
composer require matthewbdaly/laravel-etag-middleware
```

Then just include this in your `app/Http/Kernel.php` in the appropriate place where you want to import the middleware:

```
\Matthewbdaly\ETagMiddleware\ETag::class
```

###  Health Score

45

—

FairBetter than 93% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity48

Moderate usage in the ecosystem

Community22

Small or concentrated contributor base

Maturity73

Established project with proven stability

 Bus Factor1

Top contributor holds 84.1% 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 ~131 days

Recently: every ~278 days

Total

18

Last Release

1155d ago

### Community

Maintainers

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

---

Top Contributors

[![matthewbdaly](https://avatars.githubusercontent.com/u/450801?v=4)](https://github.com/matthewbdaly "matthewbdaly (53 commits)")[![KentarouTakeda](https://avatars.githubusercontent.com/u/4785040?v=4)](https://github.com/KentarouTakeda "KentarouTakeda (4 commits)")[![matthewnessworthy](https://avatars.githubusercontent.com/u/5653887?v=4)](https://github.com/matthewnessworthy "matthewnessworthy (2 commits)")[![mxaddict](https://avatars.githubusercontent.com/u/1060905?v=4)](https://github.com/mxaddict "mxaddict (2 commits)")[![georgehanson](https://avatars.githubusercontent.com/u/23167178?v=4)](https://github.com/georgehanson "georgehanson (1 commits)")[![it4need](https://avatars.githubusercontent.com/u/2446843?v=4)](https://github.com/it4need "it4need (1 commits)")

---

Tags

etagetagshttplaravellaravel-middlewaremiddlewarephphttpmiddlewarelaravelEtagETags

###  Code Quality

TestsPHPUnit

Static AnalysisPsalm

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/matthewbdaly-laravel-etag-middleware/health.svg)

```
[![Health](https://phpackages.com/badges/matthewbdaly-laravel-etag-middleware/health.svg)](https://phpackages.com/packages/matthewbdaly-laravel-etag-middleware)
```

###  Alternatives

[tomschlick/request-migrations

HTTP Request Migrations

1844.5k](/packages/tomschlick-request-migrations)[dragon-code/laravel-http-logger

Logging incoming HTTP requests

319.8k3](/packages/dragon-code-laravel-http-logger)[api-platform/laravel

API Platform support for Laravel

59126.4k6](/packages/api-platform-laravel)[laragear/json

Easily retrieve and manipulate `Json` across your application.

363.5k](/packages/laragear-json)[laravel-shift/curl-converter

A command line tool to convert curl requests to Laravel HTTP requests.

935.3k](/packages/laravel-shift-curl-converter)[onlime/laravel-http-client-global-logger

A global logger for the Laravel HTTP Client

1935.1k](/packages/onlime-laravel-http-client-global-logger)

PHPackages © 2026

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