PHPackages                             lucaj/php-rhino - 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. lucaj/php-rhino

ActiveLibrary[Framework](/categories/framework)

lucaj/php-rhino
===============

Rhino is a php micro-framework for building fast and reliable http services and APIs.

0.9(6y ago)27PHPPHP &gt;=7.0.0

Since Nov 3Pushed 6y ago2 watchersCompare

[ Source](https://github.com/luke-jj/php-rhino)[ Packagist](https://packagist.org/packages/lucaj/php-rhino)[ RSS](/packages/lucaj-php-rhino/feed)WikiDiscussions master Synced 4d ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

PHP Rhino
=========

[](#php-rhino)

Rhino is a php micro-framework for building fast and reliable http services, APIs, and to serve static content through an easy to configure php based routing service.

Find this project on packagist: [php-rhino](https://packagist.org/packages/lucaj/php-rhino)

Contents
--------

[](#contents)

1. Quick Start
2. Feature Tutorials
3. Installation
4. API Documentation

Quick Start
-----------

[](#quick-start)

To get started quickly simply require or include one of the `rhino.php` files located in the base or lib/ folder of this framework in the `index.php` file of your application.

You can then call the exported `rhino()` function to instantiate this framework’s main application and assign the return to a variable - conventionally named `$app`.

Next use instance methods of the application object to register middleware and routehandler. `use()` registers a middleware with this application while methods like `get()`, `post()` and `delete()` register route handlers which result in a final http response to the client.

Finally a call to the `start()` method must be made after all components have been registered on the application object.

```
