PHPackages                             hadesker/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. [Framework](/categories/framework)
4. /
5. hadesker/request

ActiveLibrary[Framework](/categories/framework)

hadesker/request
================

Make request http cross site

1.0.9(3y ago)029MITPHPPHP &gt;=5.6.5

Since May 8Pushed 3y ago1 watchersCompare

[ Source](https://github.com/hadeskers/request)[ Packagist](https://packagist.org/packages/hadesker/request)[ Docs](http://hadesker.net)[ RSS](/packages/hadesker-request/feed)WikiDiscussions master Synced 4d ago

READMEChangelogDependenciesVersions (11)Used By (0)

\#Make request from php
=======================

[](#make-request-from-php)

Install:
========

[](#install)

```
composer require hadesker/request
```

Config:

```
If you are using Laravel 5.5 or above, the package will make the service provider available for auto-discovery.
If you are using an earlier version of Laravel, add Hadesker\Request\RequestServiceProvider::class to provider block of config/app.php file
```

How to use:
===========

[](#how-to-use)

Quick start

```
$req = new \Hadesker\Request\Request();
$req->setUrl('https://abc.com/login');
$req->setFormType(\Hadesker\Request\Request::$FORM_TYPE_ENCODED) // $FORM_TYPE_DATA or $FORM_TYPE_JSON or $FORM_TYPE_ENCODED (default)
$req->setHeaders([
    'Auth'=> 'Bearer sgafaksdfasd',
    'User-Agent'=> 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.35 (KHTML, like Gecko) Chrome/106.0.0.0 Safari/537.35',
]);
$req->setCookie('name', 'value');
$req->setBodies([
    'username' => 'something',
    'password' => '123456',
]);
$req->post();
var_dump($req->getCookies());
var_dump($req->getHeaders());
var_dump($req->getResponse());
die();
```

Author:

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 100% 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 ~140 days

Recently: every ~310 days

Total

10

Last Release

1300d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/4e436d760f66da7aabf4fd8c3fb0d01024dcc61b301259aa4ff9b1e3a19a1221?d=identicon)[namnguyen12041994](/maintainers/namnguyen12041994)

---

Top Contributors

[![hadeskers](https://avatars.githubusercontent.com/u/16588677?v=4)](https://github.com/hadeskers "hadeskers (12 commits)")

---

Tags

httprequeststreamframeworklaravelcurlgetpostdeleteput

### Embed Badge

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

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

###  Alternatives

[laravel-lang/common

Easily connect the necessary language packs to the application

1463.1M22](/packages/laravel-lang-common)[elementaryframework/water-pipe

URL routing framework and requests/responses handler for PHP

254.6k4](/packages/elementaryframework-water-pipe)

PHPackages © 2026

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