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 2mo ago

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 59% 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

3229d 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

[friendsofsymfony/rest-bundle

This Bundle provides various tools to rapidly develop RESTful API's with Symfony

2.8k73.3M319](/packages/friendsofsymfony-rest-bundle)[php-http/discovery

Finds and installs PSR-7, PSR-17, PSR-18 and HTTPlug implementations

1.3k309.5M1.2k](/packages/php-http-discovery)[nyholm/psr7

A fast PHP7 implementation of PSR-7

1.3k235.4M2.4k](/packages/nyholm-psr7)[pusher/pusher-php-server

Library for interacting with the Pusher REST API

1.5k94.8M293](/packages/pusher-pusher-php-server)[spatie/crawler

Crawl all internal links found on a website

2.8k16.3M52](/packages/spatie-crawler)[react/http

Event-driven, streaming HTTP client and server implementation for ReactPHP

78126.4M414](/packages/react-http)

PHPackages © 2026

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