matthewbdaly / laravel-etag-middleware
A Laravel middleware for adding ETags to HTTP requests to improve response times
Installs: 283 045
Dependents: 2
Suggesters: 0
Security: 0
Stars: 63
Watchers: 5
Forks: 9
Open Issues: 1
Requires
- illuminate/http: ^5.5|^6.0|^7.0|^8.0|^9.0|^10.0
- illuminate/support: ^5.5|^6.0|^7.0|^8.0|^9.0|^10.0
Requires (Dev)
- mockery/mockery: ^1.0
- php-coveralls/php-coveralls: ^2.1
- phpunit/phpunit: ^4.8|^5.2|^9.0
- squizlabs/php_codesniffer: ^3.7
- vimeo/psalm: ^5.8
This package is auto-updated.
Last update: 2024-10-20 19:53:50 UTC
README
A Laravel middleware for adding ETags to HTTP requests to improve response times
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