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

ActiveLibrary

vulpes/router
=============

Simple router &amp; dispatcher implementation.

v1.4.4(1y ago)034MITPHPPHP &gt;=8.2

Since Jun 22Pushed 1y ago1 watchersCompare

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

READMEChangelog (9)Dependencies (10)Versions (10)Used By (0)

Simple router &amp; dispatcher implementation.
==============================================

[](#simple-router--dispatcher-implementation)

Available methods
-----------------

[](#available-methods)

- **ANY** available to all methods
- **CLI** used on command line prompt
- **GET** method requests a representation of the specified resource.
- **HEAD** method asks for a response identical to a GET request, but without the response body.
- **POST** method submits an entity to the specified resource, often causing a change in state or side effects on the server.
- **PUT** method replaces all current representations of the target resource with the request payload.
- **DELETE** method deletes the specified resource.
- **CONNECT** method establishes a tunnel to the server identified by the target resource.
- **OPTIONS** method describes the communication options for the target resource.
- **TRACE** method performs a message loop-back test along the path to the target resource.
- **PATCH** method applies partial modifications to a resource.

Path variants, and middlewares
------------------------------

[](#path-variants-and-middlewares)

```
