PHPackages                             hispanicode/route - 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. [API Development](/categories/api)
4. /
5. hispanicode/route

ActiveLibrary[API Development](/categories/api)

hispanicode/route
=================

Php model to define routes with a wide range of possibilities, like routing of laravel, but without relying on anyone, you can adapt this model to your model view controller system very easily.

36[1 issues](https://github.com/hispanicode/route/issues)PHP

Since Jul 2Pushed 10y ago1 watchersCompare

[ Source](https://github.com/hispanicode/route)[ Packagist](https://packagist.org/packages/hispanicode/route)[ RSS](/packages/hispanicode-route/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependenciesVersions (2)Used By (0)

### route

[](#route)

#### Php model to define routes with a wide range of possibilities, like routing of laravel, but without relying on anyone, you can adapt this model to your model view controller system very easily.

[](#php-model-to-define-routes-with-a-wide-range-of-possibilities-like-routing-of-laravel-but-without-relying-on-anyone-you-can-adapt-this-model-to-your-model-view-controller-system-very-easily)

Install with composer

```
	composer require hispanicode/route
```

In the downloaded files you will find a folder named example, from there you can see different routing tests.

Important. The .htaccess is required, in the example folder is the .htaccess, simply copy it to the root of your project.

### routes.php example

[](#routesphp-example)

```
