Conflicts:
	README.md
This commit is contained in:
Simon Sessingø
2015-09-21 19:41:29 +02:00
+3 -2
View File
@@ -1,6 +1,8 @@
# Simple PHP router # [WIP] Simple PHP router
Simple, fast PHP router that is easy to get integrated and in almost any project. Heavily inspired by the Laravel router. Simple, fast PHP router that is easy to get integrated and in almost any project. Heavily inspired by the Laravel router.
**Please note: this project has just been added and is still a work in progress. Please use with caution until a stable release version is available :)**
## Installation ## Installation
Add the latest version pf Simple PHP Router to your ```composer.json``` Add the latest version pf Simple PHP Router to your ```composer.json```
@@ -35,7 +37,6 @@ SimpleRouter::init($defaultControllerNamespace);
## Adding routes ## Adding routes
Remember the ```routes.php``` file you required in your ```index.php```? This file will contain all your custom rules for routing. Remember the ```routes.php``` file you required in your ```index.php```? This file will contain all your custom rules for routing.
This router is heavily inspired by the Laravel 5.* router, so anything you find in the Laravel documentation should work here as well. This router is heavily inspired by the Laravel 5.* router, so anything you find in the Laravel documentation should work here as well.
### Basic example ### Basic example