You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+14Lines changed: 14 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -36,6 +36,20 @@ $res = Fetch::request([
36
36
echo json_encode($res->data);
37
37
```
38
38
39
+
## Installation
40
+
41
+
You can quickly install leaf fetch with composer.
42
+
43
+
```sh
44
+
composer require leafs/fetch
45
+
```
46
+
47
+
If you want to keep up to date with all the changes with leaf fetch you can follow the main branch
48
+
49
+
```sh
50
+
composer require leafs/fetch dev-main
51
+
```
52
+
39
53
## The `fetch` method
40
54
41
55
Leaf fetch provides the fetch method as an easy way to make HTTP requests. This allows you to quickly make requests without bringing up the whole fetch class and without even having to build up your own request array.
0 commit comments