EasyRouter is a simple php routing-system.
- Beautiful URL for every page on your website
- Search Engine Optimization
- Easy to use in new and existing projects
Move .htaccess from src into the root directory of your website. After that you have to move the EasyRouter.php from src into one directory of your website.
Now you have to start routing on your website:
<?php include('EasyRouter.php'); EasyRouter\main::start(); ?>
<?php include('EasyRouter.php'); $_GET = EasyRouter\main::start(null, null, null, false); ?>
The parameters from your URL are now in the
The MIT License (MIT) - View LICENSE.md