Skip to content

Commit a7d48c1

Browse files
authored
Update README.md
1 parent cfb3442 commit a7d48c1

File tree

1 file changed

+26
-1
lines changed

1 file changed

+26
-1
lines changed

README.md

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,32 @@
11
## Router
2-
simple router class for php
2+
```
3+
_____ _ _ _____ _____ _
4+
| __ \| | | | __ \ | __ \ | |
5+
| |__) | |__| | |__) | ______ | |__) |___ _ _| |_ ___ _ __
6+
| ___/| __ | ___/ |______| | _ // _ \| | | | __/ _ \ '__|
7+
| | | | | | | | | \ \ (_) | |_| | || __/ |
8+
|_| |_| |_|_| |_| \_\___/ \__,_|\__\___|_|
9+
10+
```
11+
simple Router class for PHP. with the support of Controllers and Middlewares.
312

413
[![Total Downloads](https://poser.pugx.org/izniburak/router/d/total.svg)](https://packagist.org/packages/izniburak/router)
514
[![Latest Stable Version](https://poser.pugx.org/izniburak/router/v/stable.svg)](https://packagist.org/packages/izniburak/router)
615
[![Latest Unstable Version](https://poser.pugx.org/izniburak/router/v/unstable.svg)](https://packagist.org/packages/izniburak/router)
716
[![License](https://poser.pugx.org/izniburak/router/license.svg)](https://packagist.org/packages/izniburak/router)
817

18+
### Features
19+
- Static Route Patterns
20+
- Dynamic Route Patterns
21+
- Easy-to-use patterns
22+
- Adding a new pattern supports. (with RegExp)
23+
- Supports GET, POST, PUT, DELETE, OPTIONS, PATCH, HEAD, AJAX and ANY request methods
24+
- Group Routing
25+
- Controllers support (Example: HomeController@about)
26+
- Before and after Route Middlewares support (Example: Auth@isLogin)
27+
- Custom 404 handling
28+
- Debug mode (Error message open/close)
29+
930
## Install
1031

1132
composer.json file:
@@ -43,6 +64,10 @@ $router->run();
4364
## Docs
4465
Documentation page: [Buki\Router Docs][doc-url]
4566

67+
## ToDo
68+
- Write Test
69+
- Write Documentation
70+
4671
## Support
4772
[izniburak's homepage][author-url]
4873

0 commit comments

Comments
 (0)