Skip to content

Commit 893fc9f

Browse files
committed
📝 added installationn section
1 parent 4a5f9ed commit 893fc9f

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,20 @@ $res = Fetch::request([
3636
echo json_encode($res->data);
3737
```
3838

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+
3953
## The `fetch` method
4054

4155
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

Comments
 (0)