Skip to content

Commit e84977e

Browse files
committed
📝 updated readme
1 parent f214dda commit e84977e

File tree

2 files changed

+11
-5
lines changed

2 files changed

+11
-5
lines changed

README.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88

99
# Leaf Fetch
1010

11-
<!-- [![Latest Stable Version](https://poser.pugx.org/leafs/leaf/v/stable)](https://packagist.org/packages/leafs/leaf)
12-
[![Total Downloads](https://poser.pugx.org/leafs/leaf/downloads)](https://packagist.org/packages/leafs/leaf)
13-
[![License](https://poser.pugx.org/leafs/leaf/license)](https://packagist.org/packages/leafs/leaf) -->
11+
[![Latest Stable Version](https://poser.pugx.org/leafs/fetch/v/stable)](https://packagist.org/packages/leafs/leaf)
12+
[![Total Downloads](https://poser.pugx.org/leafs/fetch/downloads)](https://packagist.org/packages/leafs/leaf)
13+
[![License](https://poser.pugx.org/leafs/fetch/license)](https://packagist.org/packages/leafs/leaf)
1414

1515
Clean, simple, developer friendly interface for making network requests with PHP. Fetch is based on curl and uses elements from Unirest PHP and an API that closely resembles Axios. All of these combined makes Fetch the best and simplest way to make PHP network requests.
1616

@@ -306,6 +306,12 @@ This is the array which is used to construct the request to be sent. The availab
306306
];
307307
```
308308

309+
## Our contributors
310+
311+
And to all our contributors, we love you all ❤️
312+
313+
<a href="https://github.com/leafsphp/fetch/graphs/contributors" target="_blank"><img src="https://opencollective.com/leafphp/contributors.svg?width=890" /></a>
314+
309315
## View Leaf's docs [here](https://leafphp.netlify.app/#/)
310316

311317
Built with ❤ by [**Mychi Darko**](https://mychi.netlify.app)

src/Fetch.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -290,8 +290,8 @@ private static function call($request)
290290
curl_setopt(static::$handler, CURLOPT_TIMEOUT, $request["timeout"]);
291291
}
292292

293-
// if (self::$cookie) {
294-
// curl_setopt(static::$handler, CURLOPT_COOKIE, self::$cookie);
293+
// if ($request["cookie"]) {
294+
// curl_setopt(static::$handler, CURLOPT_COOKIE, $request["cookie"]);
295295
// }
296296

297297
// if (self::$cookieFile) {

0 commit comments

Comments
 (0)