Skip to content

Commit 6e6e507

Browse files
committed
Update README.md
1 parent 42a533a commit 6e6e507

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

README.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33

44
## Features
5+
- Dynamic routes
6+
- Pass variables in the URI
7+
- Muliple HTTP methods
8+
- Session based basic authentication
59

610
## Usage
711
### Routes
@@ -23,8 +27,6 @@ $route->delete('/user/<int:id>', function() {
2327
### Defining Controllers
2428
Controllers are defined in ```Controllers/```
2529
```php
26-
require_once __DIR__ . '/BaseController.php';
27-
2830
class User extends BaseController
2931
{
3032
public static function get()
@@ -44,6 +46,11 @@ class User extends BaseController
4446
}
4547
```
4648

49+
## Installation
50+
```console
51+
52+
```
53+
4754
## Docs
4855
https://github.com/grephq/php-router/wiki
4956

0 commit comments

Comments
 (0)