PHPackages                             stg/ieu\_http - 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. stg/ieu\_http

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

stg/ieu\_http
=============

Lib for handling http requests and responses

2.0.3(8y ago)073MITPHP

Since Mar 23Pushed 8y ago1 watchersCompare

[ Source](https://github.com/inceddy/ieu_http)[ Packagist](https://packagist.org/packages/stg/ieu_http)[ RSS](/packages/stg-ieu-http/feed)WikiDiscussions master Synced yesterday

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

HTTP framework components
=========================

[](#http-framework-components)

Request
-------

[](#request)

Object representing a HTTP request.

Response
--------

[](#response)

Object representing a HTTP response.

JsonResponse
------------

[](#jsonresponse)

Response transporting JSON encoded content.

RedirectResponse
----------------

[](#redirectresponse)

Response using redirect header and meta-refresh.

Router
------

[](#router)

Routes request to the responsible handler.

Route
-----

[](#route)

URL path description, including variables, variable validation and wildcardpattern.

### Usage

[](#usage)

```
// {id} matches didgits of all length
$route1a = (new Route('/path/to/user/{id}'))
	->validate('id', '\d+');

// or shorthand

$route1b = (new Route('/path/to/user/{id|\d+}'));

// {everything} matches all allowed chars.
$route2 = new Route('/path/to/{everything}/update');

// Will match every route beginning with /path/to/
$route3 = new Route('/path/to/*')
```

RouterProvider
--------------

[](#routerprovider)

For the use in `ieu\Container\Container` dependency containers. Implements the same interface as `Router`. Handlers used in `RouterProvider::then`-method have access to all dependencies known to the container and additional to `Request` (the current request) and `RouteParameter` (all variables found in the route pattern).

### Usage

[](#usage-1)

```
// ieu\Container
(new ieu\Container\Container)
	->provider('Router', new ieu\Http\RouterProvier)
	->config(['RouterProvider', function($routerProvider){
		$routerProvider
			->get('/home', ['Request', 'RouteParameter', function($request, $parameter){
				return new Response('This is the homepage ');
			})
			->otherwise(['Request', 'Error', function($request, $error) {
				// handle error
			});
	}]);

// ieu\App
(new ieu\App)
	->config(['RouterProvider', function($routerProvider){
		$routerProvider
			->get('/home', ['Request', 'RouteParameter', function($request, $parameter){
				return new Response('This is the homepage ');
			});
	}]);
```

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity67

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

Total

4

Last Release

3276d ago

Major Versions

1.0 → 2.0.02017-06-09

### Community

Maintainers

![](https://www.gravatar.com/avatar/60855572496c9ef88a095c897f8cde25b4fdab684fafab0aaba58c50cfa1aaee?d=identicon)[inceddy](/maintainers/inceddy)

---

Top Contributors

[![inceddy](https://avatars.githubusercontent.com/u/11957976?v=4)](https://github.com/inceddy "inceddy (59 commits)")

### Embed Badge

![Health badge](/badges/stg-ieu-http/health.svg)

```
[![Health](https://phpackages.com/badges/stg-ieu-http/health.svg)](https://phpackages.com/packages/stg-ieu-http)
```

###  Alternatives

[php-http/cache-plugin

PSR-6 Cache plugin for HTTPlug

25126.1M81](/packages/php-http-cache-plugin)[illuminate/http

The Illuminate Http package.

11937.2M6.6k](/packages/illuminate-http)[rdkafka/rdkafka

A PHP extension for Kafka

2.2k20.0k1](/packages/rdkafka-rdkafka)[httpsoft/http-message

Strict and fast implementation of PSR-7 and PSR-17

87965.9k113](/packages/httpsoft-http-message)[mezzio/mezzio-router

Router subcomponent for Mezzio

265.4M85](/packages/mezzio-mezzio-router)[serpapi/google-search-results-php

Get Google, Bing, Baidu, Ebay, Yahoo, Yandex, Home depot, Naver, Apple, Duckduckgo, Youtube search results via SerpApi.com

69127.2k](/packages/serpapi-google-search-results-php)

PHPackages © 2026

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