PHPackages                             gesundberg/simplon\_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. gesundberg/simplon\_request

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

gesundberg/simplon\_request
===========================

Simple, straight forward request helper via CURL

1.1.1(8y ago)020MITPHPPHP &gt;=5.4

Since Nov 12Pushed 8y ago1 watchersCompare

[ Source](https://github.com/Gesundberg/simplon_request)[ Packagist](https://packagist.org/packages/gesundberg/simplon_request)[ Docs](https://github.com/Gesundberg/simplon_request)[ RSS](/packages/gesundberg-simplon-request/feed)WikiDiscussions master Synced 2w ago

READMEChangelog (1)DependenciesVersions (25)Used By (0)

```
     _                 _                                              _
 ___(_)_ __ ___  _ __ | | ___  _ __    _ __ ___  __ _ _   _  ___  ___| |_
/ __| | '_ ` _ \| '_ \| |/ _ \| '_ \  | '__/ _ \/ _` | | | |/ _ \/ __| __|
\__ \ | | | | | | |_) | | (_) | | | | | | |  __/ (_| | |_| |  __/\__ \ |_
|___/_|_| |_| |_| .__/|_|\___/|_| |_| |_|  \___|\__, |\__,_|\___||___/\__|
                |_|                                |_|

```

How to use:

```
$req = new \Simplon\Request\Request();

$response = new \Simplon\Request\RequestResponse();

// set additional headers for request
$req->setRequestHeaders( [
	'User-Agent: Mozilla/5.0',
	'Accept-Language: en-US,en'
] );

// set request and response headers log file
// by default log file name -  headers_log.txt
$req->setLog();

$response = $req->get(URL, $data); 			// $data - array with variables for GET request

$location = $response->getHeader()->getLocation();	// if redirect

$type = $response->getHeader()->getContentType(); 	// return type of server response

if($response->getHeader()->isJson()) echo 'IsJson'; 	// check response type

$charset = $response->getHeader()->getCharset();	// return charset of response when Content-Type: text/html; charset=utf-8

$http_headers = $response->getHeader()->getHttpHeadersArray();
var_dump( $http_headers );				// show array of http headers of response

$html =  $response->getContent();
echo $html; 						// show server response without headers
```

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity68

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 ~45 days

Recently: every ~174 days

Total

23

Last Release

3250d ago

Major Versions

0.4.0 → 1.0.02015-09-26

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/29801494?v=4)[Gesundberg](/maintainers/Gesundberg)[@Gesundberg](https://github.com/Gesundberg)

---

Top Contributors

[![Gesundberg](https://avatars.githubusercontent.com/u/29801494?v=4)](https://github.com/Gesundberg "Gesundberg (6 commits)")

---

Tags

requestcurlauthjsonrpcgetpost

### Embed Badge

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

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

###  Alternatives

[pear/http_request2

Provides an easy way to perform HTTP requests.

764.3M53](/packages/pear-http-request2)[phpgt/fetch

Asynchronous HTTP client with promises.

3725.5k4](/packages/phpgt-fetch)[elementaryframework/water-pipe

URL routing framework and requests/responses handler for PHP

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

PHPackages © 2026

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