File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change 8
8
|_| |_| |_|_| |_| \_\___/ \__,_|\__\___|_|
9
9
10
10
```
11
- simple Router class for PHP. with the support of Controllers and Middlewares .
11
+ ** PHP Router** , which also has rich features like Middlewares and Controllers is simple and useful router class for PHP .
12
12
13
13
![ Tests] ( https://github.com/izniburak/php-router/actions/workflows/run-tests.yml/badge.svg )
14
14
[ ![ Total Downloads] ( https://poser.pugx.org/izniburak/router/d/total.svg )] ( https://packagist.org/packages/izniburak/router )
@@ -32,25 +32,25 @@ simple Router class for PHP. with the support of Controllers and Middlewares.
32
32
33
33
## Install
34
34
35
- composer.json file:
35
+ To install ** PHP Router** , You can run the following command directly at your project path in your console:
36
+
37
+ ```
38
+ $ composer require izniburak/router
39
+ ```
40
+
41
+ OR you can add following lines into the ` composer.json ` file manually:
36
42
``` json
37
43
{
38
44
"require" : {
39
45
"izniburak/router" : " ^2.0"
40
46
}
41
47
}
42
48
```
43
- after run the install command.
49
+ Then, run the following command:
44
50
```
45
51
$ composer install
46
52
```
47
53
48
- OR run the following command directly.
49
-
50
- ```
51
- $ composer require izniburak/router
52
- ```
53
-
54
54
## Example Usage
55
55
``` php
56
56
require 'vendor/autoload.php';
You can’t perform that action at this time.
0 commit comments