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

ActiveLibrary[Framework](/categories/framework)

opensid/router
==============

Improved routing, middleware support, authentication tools and more for CodeIgniter 3 framework

02.8k↓33.3%PHP

Since Dec 13Pushed 1y agoCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

 [![](https://camo.githubusercontent.com/b02c41048286e2e48ea59b2a5557e900731b050ba66b9cd7bf8bf8ad1c841714/68747470733a2f2f696e67656e69612e6d652f696d616765732f4c75746869657243494c6f676f2e706e67)](https://camo.githubusercontent.com/b02c41048286e2e48ea59b2a5557e900731b050ba66b9cd7bf8bf8ad1c841714/68747470733a2f2f696e67656e69612e6d652f696d616765732f4c75746869657243494c6f676f2e706e67)

**OpenSID CI** is an awesome set of core improvements for CodeIgniter 3 that makes the development of APIs (and websites in general) more easy!

Features
--------

[](#features)

- Easy installation via hooks
- Laravel-like routing: prefixes, namespaces, anonymous functions as routes, route groups, CLI routes, named parameters, optional parameters, etc.
- Middleware support
- PHP Debug Bar integration (experimental)

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

[](#requirements)

- PHP &gt;= 5.6.0 (PHP 7 compatible)
- CodeIgniter &gt;= 3.0

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

[](#installation)

#### Step 1: Get OpenSID CI with Composer

[](#step-1-get-opensid-ci-with-composer)

```
composer require OpenSID/OpenSID

```

#### Step 2: Enable Hooks and Composer autoload

[](#step-2-enable-hooks-and-composer-autoload)

```
