PHPackages                             mmaalouly/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. mmaalouly/laravel-etag-middleware

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

mmaalouly/laravel-etag-middleware
=================================

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

01.1k↓64.3%PHP

Since Jun 16Pushed 1y agoCompare

[ Source](https://github.com/marcmaalouly/laravel-etag-middleware)[ Packagist](https://packagist.org/packages/mmaalouly/laravel-etag-middleware)[ RSS](/packages/mmaalouly-laravel-etag-middleware/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependenciesVersions (1)Used By (0)

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

21

—

LowBetter than 18% of packages

Maintenance36

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity15

Early-stage or recently created project

 Bus Factor1

Top contributor holds 80.3% 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://avatars.githubusercontent.com/u/65512028?v=4)[marcmaalouly](/maintainers/marcmaalouly)[@marcmaalouly](https://github.com/marcmaalouly)

---

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)")[![marcmaalouly](https://avatars.githubusercontent.com/u/65512028?v=4)](https://github.com/marcmaalouly "marcmaalouly (3 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)")

### Embed Badge

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

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

###  Alternatives

[php-http/cache-plugin

PSR-6 Cache plugin for HTTPlug

25126.1M82](/packages/php-http-cache-plugin)[illuminate/http

The Illuminate Http package.

11937.9M7.0k](/packages/illuminate-http)[rdkafka/rdkafka

A PHP extension for Kafka

2.2k24.3k1](/packages/rdkafka-rdkafka)[httpsoft/http-message

Strict and fast implementation of PSR-7 and PSR-17

87965.9k114](/packages/httpsoft-http-message)[mezzio/mezzio-router

Router subcomponent for Mezzio

265.4M92](/packages/mezzio-mezzio-router)[serpapi/google-search-results-php

Get Google, Bing, Baidu, Ebay, Yahoo, Yandex, Home depot, Naver, Apple, Duckduckgo, Youtube search results via SerpApi.com

69127.2k](/packages/serpapi-google-search-results-php)

PHPackages © 2026

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