Skip to content

About

Simple static router for Nette Framework

Topics

Resources

Stars

25 stars

Watchers

6 watching

Forks

Latest commit

 

History

54 Commits

Folders and files

Repository files navigation

Nextras StaticRouter

Build Status Downloads this Month Stable Version

Installation

Add to your composer.json:

"require": {
	"nextras/static-router": "~2.0"
}

Example

use Nextras\Routing\StaticRouter;

$router = new StaticRouter(['Homepage:default' => 'index.php'], StaticRouter::ONE_WAY);

$router = new StaticRouter([
	'Homepage:default' => '',
	'Auth:signIn' => 'sign-in',
	'Auth:signOut' => 'sign-out',
	'Auth:signUp' => 'sign-up',
]);

About

Simple static router for Nette Framework

Topics

Resources

Stars

25 stars

Watchers

6 watching

Forks

Releases

Packages

Used by

Contributors

Languages