We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bbd30fd commit 28ce04aCopy full SHA for 28ce04a
README.md
@@ -1,7 +1,7 @@
1
# php-route
2
Simple PHP Fast Routing for Small Web Application or Rest API .
3
4
-#### Features
+### Features
5
1. Easy Deployment
6
2. Fastest Routing
7
3. Parameter Supports
@@ -11,5 +11,31 @@ Simple PHP Fast Routing for Small Web Application or Rest API .
11
12
13
14
-#### User Guide
+### User Guide
15
+
16
+###### Route Structures
17
18
+`Route::METHOD(ROUTE, CALLBACK);`
19
20
21
22
+That means, a route should be like
23
24
+```php
25
+Route::get("/", function(){`
26
27
+echo "This is home page";
28
29
+`});
30
+```
31
32
33
+Route::get("contact", function(){`
34
35
+echo "This is contact page";
36
37
+`});`
38
39
40
41
0 commit comments