Skip to content

Commit 61ee517

Browse files
committed
Updated README
1 parent 1a6a4b2 commit 61ee517

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
|_| |_| |_|_| |_| \_\___/ \__,_|\__\___|_|
99
1010
```
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.
1212

1313
![Tests](https://github.com/izniburak/php-router/actions/workflows/run-tests.yml/badge.svg)
1414
[![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.
3232

3333
## Install
3434

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:
3642
```json
3743
{
3844
"require": {
3945
"izniburak/router": "^2.0"
4046
}
4147
}
4248
```
43-
after run the install command.
49+
Then, run the following command:
4450
```
4551
$ composer install
4652
```
4753

48-
OR run the following command directly.
49-
50-
```
51-
$ composer require izniburak/router
52-
```
53-
5454
## Example Usage
5555
```php
5656
require 'vendor/autoload.php';

0 commit comments

Comments
 (0)