PHPackages                             sikker/phinatra - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. sikker/phinatra

ActiveLibrary[HTTP &amp; Networking](/categories/http)

sikker/phinatra
===============

Phinatra is a lightweight PHP router inspired by Sinatra, ideal for light or RESTful applications.

1.2.2(7y ago)013CC-BY-4.0PHPPHP ^7.0

Since Dec 8Pushed 7y ago1 watchersCompare

[ Source](https://github.com/sikker/phinatra)[ Packagist](https://packagist.org/packages/sikker/phinatra)[ Docs](https://github.com/sikker/phinatra)[ RSS](/packages/sikker-phinatra/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (3)Dependencies (1)Versions (4)Used By (0)

Phinatra
========

[](#phinatra)

Phinatra is a lightweight URI router written to be vaguely similar to Sinatra from Ruby. It provides the Controller layer of Model-View-Controller, and can form an MVC application if joined by for instance Doctrine for models and Twig for views.

Example of usage:
-----------------

[](#example-of-usage)

```
