This package is abandoned and no longer maintained. No replacement package was suggested.

Slim Framework middleware

1.0.0 2013-09-18 18:13 UTC

This package is auto-updated.

Last update: 2022-11-10 10:00:51 UTC


This repository contains a library of optional middleware for your Slim Framework application.

How to Install

Update your composer.json manifest to require the slim/middleware package (see below). Run composer install or composer update to update your local vendor folder.

    "require": {
        "slim/middleware": "*"

How to Contribute

Pull Requests

  1. Fork this repository
  2. Create a new branch for each feature or improvement
  3. Send a pull request from your feature branch to this repository's master branch

It is very important to separate new features or improvements into separate feature branches, and to send a pull request for each branch. This allows me to review and pull in new features or improvements individually.

Style Guide

All pull requests must adhere to the PSR-2 standard.


The Slim Framework is created and maintained by Josh Lockhart. Josh is a senior web developer at New Media Campaigns. Josh also created and maintains PHP: The Right Way, a popular movement in the PHP community to introduce new PHP programmers to best practices and good information.


All code in this repository is released under the MIT public license.