Skip to content

Commit 9d2959d

Browse files
authored
Update README.md
1 parent 0548366 commit 9d2959d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ The current version requires PHP `v7.1` or newer versions including `v8.0`.
3434
- [Controllers](#controllers)
3535
- [Route Parameters](#route-parameters)
3636
- [Requests and Responses](#requests-and-responses)
37+
- [Views](#views)
3738
- [Route Groups](#route-groups)
3839
- [Middleware](#middleware)
3940
- [Domains and Subdomains](#domains-and-subdomains)
@@ -278,7 +279,7 @@ $router->get('/post/{id}', function (int $id) { /* ... */ });
278279
$router->dispatch();
279280
```
280281

281-
### Requests, Responses, and Views
282+
### Requests and Responses
282283

283284
PhpRouter uses [laminas-diactoros](https://github.com/laminas/laminas-diactoros/)
284285
(formerly known as [zend-diactoros](https://github.com/zendframework/zend-diactoros))
@@ -348,7 +349,7 @@ $router->get('/redirect', function () {
348349
$router->dispatch();
349350
```
350351

351-
#### Views
352+
### Views
352353

353354
You might need to create a classic-style website that uses views.
354355
PhpRouter has a simple feature for working with PHP/HTML views.

0 commit comments

Comments
 (0)