PHPackages                             ooobii/quick-router - 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. ooobii/quick-router

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

ooobii/quick-router
===================

A quick &amp; easy library for routing incoming HTTP requests with PHP.

0.1(4y ago)06MITPHPPHP &gt;=7.3.0

Since Mar 27Pushed 4y ago1 watchersCompare

[ Source](https://github.com/ooobii/quick-router)[ Packagist](https://packagist.org/packages/ooobii/quick-router)[ RSS](/packages/ooobii-quick-router/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

Quick Router for PHP
====================

[](#quick-router-for-php)

[![Build Status](https://camo.githubusercontent.com/3a35d242d2fc6fbdd918ba648140b6d307eb3eeeb8321e31562c54da01ea7aba/68747470733a2f2f6a656e6b696e732e6d61747468657777656e64656c2e696e666f2f6a6f622f717569636b2d726f757465722f6a6f622f6d61696e2f62616467652f69636f6e)](https://jenkins.matthewwendel.info/job/quick-router/job/main/) [![Test Status](https://camo.githubusercontent.com/689ed1d8b5aac0d00487ffeefa7c0f29c2838c61804b69cf113d45b7bac6241f/68747470733a2f2f696d672e736869656c64732e696f2f6a656e6b696e732f74657374733f636f6d706163745f6d657373616765266661696c65645f6c6162656c3d6661696c75726573266a6f6255726c3d68747470732533412532462532466a656e6b696e732e6d61747468657777656e64656c2e696e666f2532466a6f62253246717569636b2d726f757465722532466a6f622532466d61696e253246266c6162656c3d7465737473267061737365645f6c6162656c3d7375636365737366756c26736b69707065645f6c6162656c3d756e746573746564)](https://jenkins.matthewwendel.info/job/quick-router/job/main/)[![Composer](https://camo.githubusercontent.com/0a1a40680a331d26eb0722c5cbebc62bb180f1c024fea9eb42ac730837fdd5f9/68747470733a2f2f696d672e736869656c64732e696f2f7374617469632f76313f6c6162656c3d636f6d706f736572266d6573736167653d7061636b616769737426636f6c6f723d6f72616e6765)](https://packagist.org/packages/ooobii/quick-router)

A quick &amp; easy way to start developing an API / web service application using PHP &amp; Apache.

**Heads Up!** Documentation is not complete. There may be some gaps in usage instructions.

---

Requirements
------------

[](#requirements)

- PHP (7.3 or later)
- Apache
    - Rewrite extension enabled
    - `.htaccess` files enabled

Installation
------------

[](#installation)

This package can be installed with `composer`:

```
composer require ooobii/quick-router

```

In order to use this package, an `.htaccess` file / rewrite rules are required to defined so that all requests are processed by the `index.php` file. You can create / update one in the site's directory by executing the following PHP script:

```
