Skip to content

Commit 49d66d5

Browse files
committed
Added Router Documentation
1 parent d3c2bbd commit 49d66d5

File tree

1 file changed

+46
-0
lines changed

1 file changed

+46
-0
lines changed

DOCS.md

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
# Buki\Router Documentation
2+
3+
## Install
4+
composer.json file:
5+
```json
6+
{
7+
"require": {
8+
"izniburak/router": "dev-master"
9+
}
10+
}
11+
```
12+
after run the install command.
13+
```
14+
$ composer install
15+
```
16+
17+
OR run the following command directly.
18+
19+
```
20+
$ composer require izniburak/router:dev-master
21+
```
22+
23+
24+
## Quick Usage
25+
```php
26+
require 'vendor/autoload.php';
27+
28+
$router = new \Buki\Router();
29+
30+
$router->get('/', function() {
31+
return 'Hello World!';
32+
});
33+
```
34+
35+
36+
Congratulations! Now, you can use Buki\Router.
37+
38+
If you have a problem, you can [contact me][support-url].
39+
40+
41+
42+
# Detailed Usage and Methods
43+
44+
Coming soon...
45+
46+
[support-url]: https://github.com/izniburak/PDOx#support

0 commit comments

Comments
 (0)