PHPackages                             jaredchu/jc-request - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [HTTP &amp; Networking](/categories/http)
4. /
5. jaredchu/jc-request

ActiveLibrary[HTTP &amp; Networking](/categories/http)

jaredchu/jc-request
===================

Another Guzzle wrapper

v1.2.0(8y ago)56.0k21MITPHPPHP &gt;=5.5

Since Jun 2Pushed 8y ago1 watchersCompare

[ Source](https://github.com/jaredchu/JCRequest)[ Packagist](https://packagist.org/packages/jaredchu/jc-request)[ RSS](/packages/jaredchu-jc-request/feed)WikiDiscussions master Synced yesterday

READMEChangelog (5)Dependencies (3)Versions (6)Used By (1)

JCRequest
=========

[](#jcrequest)

Another Guzzle wrapper

[![Packagist](https://camo.githubusercontent.com/8e017fccc98a054da8503cc81c0be2186d10eb662f7591fcea1325838c4006f7/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6a617265646368752f6a632d726571756573742e737667)](https://packagist.org/packages/jaredchu/jc-request)[![Packagist](https://camo.githubusercontent.com/e628dacd125dbf6bcef7ae25246c713bdf652a1019d915f35a62778b84b4133d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6a617265646368752f6a632d726571756573742e737667)](https://packagist.org/packages/jaredchu/jc-request)[![Travis](https://camo.githubusercontent.com/0354839f299da393c35a1d2ce6f7f278b82e7fc8df14ed3cc4a759c9d430670e/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6a617265646368752f4a43526571756573742e737667)](https://travis-ci.org/jaredchu/JCRequest)[![Scrutinizer](https://camo.githubusercontent.com/63b2ecbf071502640fc0f32c586096449ce804e64ac93f9aeecbf3c8f2671bb9/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f6a617265646368752f4a43526571756573742e737667)](https://scrutinizer-ci.com/g/jaredchu/JCRequest/)[![Codecov](https://camo.githubusercontent.com/080901ecabd0333f114f6651e4d4557579100caf30b9646fd2e323ef46c653be/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636f762f632f6769746875622f6a617265646368752f4a43526571756573742e737667)](https://codecov.io/gh/jaredchu/JCRequest)[![Packagist](https://camo.githubusercontent.com/6e0bfecc664ba78866dafc4ab1b18b73ff5e164ea3fc30141e970cdb3e71f3da/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6a617265646368752f6a632d726571756573742e737667)](https://packagist.org/packages/jaredchu/jc-request)[![FOSSA Status](https://camo.githubusercontent.com/63ccbd3be6cc95af7432a8d69a24ad4984aa0a50e6a02f852aa929b8563346cc/68747470733a2f2f6170702e666f7373612e696f2f6170692f70726f6a656374732f67697425324268747470732533412532462532466769746875622e636f6d2532466a617265646368752532464a43526571756573742e7376673f747970653d736869656c64)](https://app.fossa.io/projects/git%2Bhttps%3A%2F%2Fgithub.com%2Fjaredchu%2FJCRequest?ref=badge_shield)

Installation
------------

[](#installation)

`$ composer require jaredchu/jc-request`

Usage
-----

[](#usage)

```
use JC\HttpClient\JCRequest;
```

#### GET

[](#get)

```
$response = JCRequest::get($url);
echo $response->status();
echo $response->body();
var_dump($response->json());
```

#### POST

[](#post)

```
$response = JCRequest::post($url, $params, $headers);
echo $response->status();
echo $response->body();
var_dump($response->json());
```

#### RESTful

[](#restful)

```
$response = JCRequest::post($url, json_encode($params), $headers);
var_dump($response->json());
```

### Basic Auth

[](#basic-auth)

```
$response = JCRequest::get($url, $params, $headers, [
  'auth' => [$userName, $passwd]
]);
```

### Request timeout

[](#request-timeout)

```
$response = JCRequest::get($url, $params, $headers, [
  'connect_timeout' => 2,
  'timeout' => 2
]);
```

Contributing
------------

[](#contributing)

1. Fork it!
2. Create your feature branch: `$ git checkout -b feature/your-new-feature`
3. Commit your changes: `$ git commit -am 'Add some feature'`
4. Push to the branch: `$ git push origin feature/your-new-feature`
5. Submit a pull request.

License
-------

[](#license)

[MIT License](https://github.com/jaredchu/JCRequest/blob/master/LICENSE)

[![FOSSA Status](https://camo.githubusercontent.com/a4f5271a8d3c672f6318460cccfb78ffca93c90da89665c12b510cb66f228009/68747470733a2f2f6170702e666f7373612e696f2f6170692f70726f6a656374732f67697425324268747470732533412532462532466769746875622e636f6d2532466a617265646368752532464a43526571756573742e7376673f747970653d6c61726765)](https://app.fossa.io/projects/git%2Bhttps%3A%2F%2Fgithub.com%2Fjaredchu%2FJCRequest?ref=badge_large)

###  Health Score

34

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity28

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 98% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~27 days

Total

5

Last Release

3207d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/4394552?v=4)[Jared Chu](/maintainers/jaredchu)[@jaredchu](https://github.com/jaredchu)

---

Top Contributors

[![jaredchu](https://avatars.githubusercontent.com/u/4394552?v=4)](https://github.com/jaredchu "jaredchu (49 commits)")[![fossabot](https://avatars.githubusercontent.com/u/29791463?v=4)](https://github.com/fossabot "fossabot (1 commits)")

---

Tags

composercomposer-packagehttp-clientphpphp-libraryphp7httprequestclientGuzzle

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/jaredchu-jc-request/health.svg)

```
[![Health](https://phpackages.com/badges/jaredchu-jc-request/health.svg)](https://phpackages.com/packages/jaredchu-jc-request)
```

###  Alternatives

[e-moe/guzzle6-bundle

Integrates Guzzle 6 into your Symfony application

12261.2k1](/packages/e-moe-guzzle6-bundle)[amphp/http-client-guzzle-adapter

Guzzle adapter for Amp's HTTP client.

1535.5k3](/packages/amphp-http-client-guzzle-adapter)[opgg/riotquest

RiotQuest, PHP RiotAPI client library that focused on multi request from OP.GG

172.6k](/packages/opgg-riotquest)[behamin/service-proxy

for proxy or sending requests to other services with useful utilities

102.2k](/packages/behamin-service-proxy)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
