Skip to content
This repository has been archived by the owner on Nov 8, 2022. It is now read-only.


Repository files navigation

Slim Framework Middleware

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.