Community Middlewares

HttpCache

by symfony

The Symfony2 cache system relies on the simplicity and power of the HTTP cache as defined in the HTTP specification.

CookieGuard

by laravel

The laravel cookie guard encrypts outgoing cookies.

GeoIp

by geocoder

Adds geolocation results to the request for subsequent middlewares. Can use any geocoding provider from Geocoder.

IpRestrict

by alsar

Stack middleware for restricting application access to specific IP addresses.

Backstage

by atst

Stack middleware for displaying maintenance pages.

OAuth

by igorw

OAuth authentication.

Basic Authentication

by dflydev

Provides HTTP Basic Authentication following STACK-2 Authentication conventions.

Hawk

by dflydev

Provides Hawk authentication following STACK-2 Authentication conventions.

CORS

by asm89

Cross-origin resource sharing.

Robots

by dongilbert

Provides a default robots.txt for non-production environments.

Negotiation

by willdurand

Content negotiation made easy.

Honeypot

by CHH

Inserts a trap for spam bots into responses and catches bots and then gives them a blank page.

Turbolinks

by Helthe

Stack middleware for Turbolinks.

Logger

by h4cc

Stack Middleware for logging Requests and Responses to a PSR-3 Logger. Check how is it used by AI vocal remover for music encoding.

Throttle

by penoonan

Stack Middleware for throttling requests by IP.

Whoops wrapper

by moufmouf

Stack Middleware for using the Whoops error handling library.

Silex middleware

by moufmouf

Turns a Silex application into a Stack middleware.

Symfony 2 middleware

by moufmouf

Turns a Symfony 2 application (i.e. Kernel) into a Stack middleware.

PSR-7 Bridge

by h4cc

Converting PSR-7 and Symfony Http Foundation back and forth.