PHPackages                             slim/shady - 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. [Framework](/categories/framework)
4. /
5. slim/shady

ActiveLibrary[Framework](/categories/framework)

slim/shady
==========

A set of shady Slim Framework middlewares that can solve some annoyances...

v2.0.0alpha2(12y ago)76631MITPHPPHP &gt;=5.3.0

Since Jul 17Pushed 12y ago4 watchersCompare

[ Source](https://github.com/laroo/Shady)[ Packagist](https://packagist.org/packages/slim/shady)[ Docs](http://github.com/laroo/Shady)[ RSS](/packages/slim-shady/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (2)Versions (6)Used By (0)

Shady
=====

[](#shady)

A set of shady Slim Framework middlewares that can solve some annoyances...

[![Build Status](https://camo.githubusercontent.com/7547a0f3a13902f49397d3c5e6d95b4971474182169b31912dacbcca2d5fe1f9/68747470733a2f2f7472617669732d63692e6f72672f6c61726f6f2f53686164792e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/laroo/Shady)[![Dependencies Status](https://camo.githubusercontent.com/dbf8181c08fcc5ea6b01506a0e4b3fb31600de31cecde28b5a9456261f9e421e/68747470733a2f2f6432786973687470316f6a6c6b302e636c6f756466726f6e742e6e65742f642f38373235333934)](http://depending.in/laroo/Shady)[![Latest Stable Version](https://camo.githubusercontent.com/4de63fd859ac75e87dc9f616e3eae59796ec533701b0b89e88c9a4ea34b3b11c/68747470733a2f2f706f7365722e707567782e6f72672f536c696d2f53686164792f762f737461626c652e706e67)](https://packagist.org/packages/Slim/Shady)

What does it contain?
---------------------

[](#what-does-it-contain)

Available middlewares:

- ApacheVirtualHostFix
- UrlPrefix
- UrlPostfix

ApacheVirtualHostFix
--------------------

[](#apachevirtualhostfix)

Fixes the resolving of URL's when using Apache VirtualHost in combination with VirtualDocumentRoot: 'VirtualDocumentRoot /www/hosts/%0/www'

Example:

```
