PHPackages                             ilias/rhetoric - 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. ilias/rhetoric

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

ilias/rhetoric
==============

Package addressed to handling routes with PHP

1.1.1(1y ago)01141MITPHP

Since Jul 26Pushed 1y ago1 watchersCompare

[ Source](https://github.com/iloElias/rhetoric)[ Packagist](https://packagist.org/packages/ilias/rhetoric)[ Docs](https://github.com/iloElias/rhetoric)[ RSS](/packages/ilias-rhetoric/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (5)Dependencies (2)Versions (12)Used By (1)

Rhetoric Router @IloElias
=========================

[](#rhetoric-router-iloelias)

[![Maintainer](https://camo.githubusercontent.com/7747e8335e6e4ef5045ec7ec6217c9f98b3a9c6f85ad84655a0b8e2c6c64f5a3/687474703a2f2f696d672e736869656c64732e696f2f62616467652f6d61696e7461696e65722d40696c6f456c6961732d626c75652e737667)](https://github.com/iloElias)[![Package](https://camo.githubusercontent.com/c8ef0063b0df5471c7258ac839e38bbee07e16d9a405c1914e2ff3b928bc7b0a/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7061636b6167652d696c6f656c6961732f726865746f7269632d6f72616e67652e737667)](https://packagist.org/packages/ilias/rhetoric)[![Source Code](https://camo.githubusercontent.com/814b1daee54f7859e1c1cacd4ea424b789229e6406e02ca8a4d5bf73ddb60e68/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f736f757263652d696c6f656c6961732f726865746f7269632d626c75652e737667)](https://github.com/iloElias/rhetoric)[![Software License](https://camo.githubusercontent.com/074b89bca64d3edc93a1db6c7e3b1636b874540ba91d66367c0e5e354c56d0ea/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e737667)](LICENSE)

This PHP router system allows you to define and manage your application's routes in a simple and organized manner, inspired by Laravel's routing system.

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

[](#installation)

To install the package, add it to your `composer.json` file:

```
{
  "require": {
    "ilias/rhetoric": "1.0.0"
  }
}
```

Or simply run the terminal command

```
composer require ilias/rhetoric
```

Then, run the following command to install the package:

```
composer install
```

Usage
-----

[](#usage)

### Step 1: Define Your Routes

[](#step-1-define-your-routes)

Create a file to define your routes, for example, in your project root folder, `routes.php`:

```
