PHPackages                             devceliojr/simplerouter - 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. devceliojr/simplerouter

ActiveLibrary[Framework](/categories/framework)

devceliojr/simplerouter
=======================

A lightweight, easy-to-use PHP router for building web applications.

1.0.6(2y ago)385MITPHPPHP &gt;=8.1

Since May 7Pushed 2y ago1 watchersCompare

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

READMEChangelog (7)DependenciesVersions (8)Used By (0)

SimpleRouter
============

[](#simplerouter)

SimpleRouter is a lightweight and easy-to-use PHP router for building web applications.

Features
--------

[](#features)

- Simple and intuitive syntax
- Support for dynamic routes with URL parameters
- Support for HTTP methods (GET, POST, PUT, PATCH, and DELETE)
- Easily customizable
- Lightweight and fast

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

[](#requirements)

- PHP &gt;= 8.1

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

[](#installation)

You can install SimpleRouter using Composer:

```
composer require devceliojr/simplerouter

```

Usage
-----

[](#usage)

Here's a simple example of how to use SimpleRouter:

```
