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

ActiveLibrary[Framework](/categories/framework)

ccglabs/router
==============

A simple router for simple applications.

v1.0.0(1mo ago)02[2 PRs](https://github.com/CCG-Labs/ccglabs-router/pulls)MITPHPPHP &gt;=8.4CI passing

Since May 3Pushed 2d agoCompare

[ Source](https://github.com/CCG-Labs/ccglabs-router)[ Packagist](https://packagist.org/packages/ccglabs/router)[ RSS](/packages/ccglabs-router/feed)WikiDiscussions main Synced 1w ago

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

ccglabs/router
==============

[](#ccglabsrouter)

[![CI](https://github.com/CCG-Labs/ccglabs-router/workflows/CI/badge.svg)](https://github.com/CCG-Labs/ccglabs-router/actions/workflows/ci.yml)[![Security](https://github.com/CCG-Labs/ccglabs-router/workflows/Security/badge.svg)](https://github.com/CCG-Labs/ccglabs-router/actions/workflows/security.yml)[![PHP 8.4+](https://camo.githubusercontent.com/bfb98d885e37493cddcc01059ebf02a8872de9da37c12691b8bb6d13fcdca735/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d382e342532422d626c75652e737667)](https://www.php.net)[![License: MIT](https://camo.githubusercontent.com/fdf2982b9f5d7489dcf44570e714e3a15fce6253e0cc6b5aa61a075aac2ff71b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d79656c6c6f772e737667)](https://opensource.org/licenses/MIT)

A simple PHP router for simple PHP projects

Features
--------

[](#features)

- `CCGLabs\Router\Application` - Front controller where routes and route groups are registered.

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

[](#installation)

Install into your project:

```
composer require ccglabs/router
```

### Verify Installation

[](#verify-installation)

After installation, verify the router is working by creating a test file:

```
// test-router.php
