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

0878—0%PHP

Since Jun 16Pushed 11mo 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 1mo 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 19% of packages

Maintenance38

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity14

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://www.gravatar.com/avatar/53470c7b0d21e4b4277910509cc348c800ee7d05ae29be71d12ce292cfcc53d1?d=identicon)[marcmaalouly](/maintainers/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

[friendsofsymfony/rest-bundle

This Bundle provides various tools to rapidly develop RESTful API's with Symfony

2.8k73.3M319](/packages/friendsofsymfony-rest-bundle)[php-http/discovery

Finds and installs PSR-7, PSR-17, PSR-18 and HTTPlug implementations

1.3k309.5M1.2k](/packages/php-http-discovery)[nyholm/psr7

A fast PHP7 implementation of PSR-7

1.3k235.4M2.4k](/packages/nyholm-psr7)[pusher/pusher-php-server

Library for interacting with the Pusher REST API

1.5k94.8M293](/packages/pusher-pusher-php-server)[spatie/crawler

Crawl all internal links found on a website

2.8k16.3M52](/packages/spatie-crawler)[react/http

Event-driven, streaming HTTP client and server implementation for ReactPHP

78126.4M414](/packages/react-http)

PHPackages © 2026

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