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

ActiveLibrary[Framework](/categories/framework)

marcolamr/router
================

Create and manage your routes easy, fast and extremely uncomplicated.

v1.0.0(3y ago)04MITPHPPHP &gt;=8.1

Since Sep 2Pushed 3y ago1 watchersCompare

[ Source](https://github.com/marcolamr/router)[ Packagist](https://packagist.org/packages/marcolamr/router)[ Docs](https://github.com/marcolamr)[ RSS](/packages/marcolamr-router/feed)WikiDiscussions main Synced 4w ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

Router Library
==============

[](#router-library)

[![Maintainer](https://camo.githubusercontent.com/e1f1c6b2747f5dc2869eb0cd83ca2332814f3400a2ebf417222968ae345becf7/687474703a2f2f696d672e736869656c64732e696f2f62616467652f6d61696e7461696e65722d406d6172636f6c616d722d626c75652e7376673f7374796c653d666c61742d737175617265)](https://github.com/marcolamr)[![Source Code](https://camo.githubusercontent.com/e6da8f36cfb7b6c9d369ae6b3c33ae18f348ca3cb3327b7287008e0228ebcfb7/687474703a2f2f696d672e736869656c64732e696f2f62616467652f736f757263652d6d6172636f6c616d722f726f757465722d626c75652e7376673f7374796c653d666c61742d737175617265)](https://github.com/marcolamr/router)[![PHP from Packagist](https://camo.githubusercontent.com/7ae07607d010e800e6d01267d3b43a61e91d13ab4d37dd0e6db30c67dec30bec/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f6d6172636f6c616d722f726f757465722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/marcolamr/router)[![Latest Version](https://camo.githubusercontent.com/9232df65a42050b8209d2f77e5a225b894c632f6fa64c804190c00e431be798e/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f6d6172636f6c616d722f726f757465722e7376673f7374796c653d666c61742d737175617265)](https://github.com/marcolamr/router/releases)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE)[![Build](https://camo.githubusercontent.com/b752e6dba4e69e3916a4aaad9cff17de46def12a35eb86cc08339d73a56a5e9b/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f6275696c642f672f6d6172636f6c616d722f726f757465722e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/marcolamr/router)[![Quality Score](https://camo.githubusercontent.com/614e42c99ccb54bca73d71a2b88666ee06376e11562245953693db7f691d81d1/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f6d6172636f6c616d722f726f757465722e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/marcolamr/router)[![Total Downloads](https://camo.githubusercontent.com/a6898221ce583abf11acad3e0a69dcdcee8168e97ecfa4762f7b4dff06605c14/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6d6172636f6c616d722f726f757465722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/marcolamr/router)

###### Small, simple and uncomplicated. The router is a PHP routing component with abstraction for MVC. Prepared with RESTfull verbs (GET, POST, PUT and DELETE), it works in its own layer in isolation and can be seamlessly integrated into your application.

[](#small-simple-and-uncomplicated-the-router-is-a-php-routing-component-with-abstraction-for-mvc-prepared-with-restfull-verbs-get-post-put-and-delete-it-works-in-its-own-layer-in-isolation-and-can-be-seamlessly-integrated-into-your-application)

Pequeno, simples e descomplicado. O router é um componente de rotas PHP com abstração para MVC. Preparado com verbos RESTfull (GET, POST, PUT e DELETE), trabalha em sua própria camada de forma isolada e pode ser integrado sem segredos a sua aplicação.

### Highlights

[](#highlights)

- Simple installation (Instalação simples)
- Works with standard php server: php -S localhost:8000 (Funciona com php server padrão)
- Composer ready and PSR-2 compliant (Pronto para o composer e compatível com PSR-2)

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

[](#installation)

Router is available via Composer:

```
"marcolamr/router": "^1.0"
```

or run

```
composer require marcolamr/router
```

Documentation
-------------

[](#documentation)

#### Getting Started:

[](#getting-started)

```
