PHPackages                             rawebone/wilson - 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. rawebone/wilson

ActiveLibrary[Framework](/categories/framework)

rawebone/wilson
===============

A PHP micro framework designed for simplicity and performance

1.0.0-alpha3(11y ago)017MITPHP

Since Jan 1Pushed 11y ago1 watchersCompare

[ Source](https://github.com/rawebone/Wilson)[ Packagist](https://packagist.org/packages/rawebone/wilson)[ RSS](/packages/rawebone-wilson/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (3)Dependencies (2)Versions (5)Used By (0)

Wilson
======

[](#wilson)

[![Author](https://camo.githubusercontent.com/e4b817b89eafd8bb2a416a38136e4471a1bd31b5f13573d5786a6caf10a9f79b/687474703a2f2f696d672e736869656c64732e696f2f62616467652f617574686f722d4072617765626f6e652d626c75652e7376673f7374796c653d666c61742d737175617265)](https://twitter.com/rawebone)[![Latest Version](https://camo.githubusercontent.com/bc80c684448c92853d7cfbc8f9234943047e94227d84705aeced5027376e6ce7/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f72617765626f6e652f57696c736f6e2e7376673f7374796c653d666c61742d737175617265)](https://github.com/rawebone/Wilson/releases)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE)[![Build Status](https://camo.githubusercontent.com/aef05714f3ba693830342934d6f983de93898df5e9c38ee7240431b065244fa9/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f72617765626f6e652f57696c736f6e2f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/rawebone/Wilson)[![HHVM Status](https://camo.githubusercontent.com/3a70a7af048d133710ad994b15eca896017fef48f18505a1e8faf567b4207382/68747470733a2f2f696d672e736869656c64732e696f2f6868766d2f72617765626f6e652f77696c736f6e2e7376673f7374796c653d666c61742d737175617265)](http://hhvm.h4cc.de/package/rawebone/wilson)[![Coverage Status](https://camo.githubusercontent.com/c87781304c03a57d577f41eef98e892ec2c374fd57530a2b82333139679a59a1/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f72617765626f6e652f57696c736f6e2e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/rawebone/Wilson/code-structure)[![Quality Score](https://camo.githubusercontent.com/8ef30ae943c7556d46accfd4d2a8f7f92f780b73b115cfafea7a124f740edd21/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f72617765626f6e652f57696c736f6e2e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/rawebone/Wilson)[![Total Downloads](https://camo.githubusercontent.com/f0c3c2241f4a36093a52486c3b9a6eeeec4b0f57d4a268eb9d38bf246dcbbf40/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f72617765626f6e652f77696c736f6e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/rawebone/wilson)[![SensioLabs Insight](https://camo.githubusercontent.com/dc5aa9409f244946537f07a926332fb49baf3e537046a4f4fc15e9aecb67680b/68747470733a2f2f696d672e736869656c64732e696f2f73656e73696f6c6162732f692f33646562653966662d323862632d343662322d616538332d6137646463663934633537362e7376673f7374796c653d666c61742d737175617265)](https://insight.sensiolabs.com/projects/3debe9ff-28bc-46b2-ae83-a7ddcf94c576)

Wilson is a PHP micro framework designed for simplicity and performance. It main features are:

- Annotation based routing
- Middleware
- Service Location
- HTTP Request/Response abstraction
- HTTP Caching
- Unit Testing

Its design is based around the Slim and Symfony frameworks, combining elements of both with the goal of creating system which is fast, correct, well documented, and simple.

Usage
-----

[](#usage)

At a glance, an application in the framework looks like this:

```
