Skip to content

Commit a2d7f9d

Browse files
authored
Updated readme.md
1 parent 528e4d8 commit a2d7f9d

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,17 @@ In your terminal execute: ``composer require szenis/routing``
3232
<b>Step 3 - create index.php</b><br/>
3333
Create the file index.php in the root of your project
3434

35-
<b>Step 4 - require autoload.php</b><br/>
36-
Require vendor/autoload.php in your index.php
35+
<b>Step 4 - require autoload.php and use the Router</b><br/>
3736

38-
<b>Step 5 - use Router</b><br/>
3937
Add
4038
```php
39+
<?php
40+
41+
require './vendor/autoload.php';
42+
4143
use Szenis\Router;
4244
use Szenis\RouteResolver;
45+
4346
```
4447
to your index.php
4548

0 commit comments

Comments
 (0)