PHPackages                             front-interop/impl - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. front-interop/impl

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

front-interop/impl
==================

Reference implementations for Front-Interop.

1.x-dev(1mo ago)10MITPHPPHP &gt;=8.4CI passing

Since May 8Pushed 1mo agoCompare

[ Source](https://github.com/front-interop/impl)[ Packagist](https://packagist.org/packages/front-interop/impl)[ Docs](https://github.com/front-interop/impl)[ RSS](/packages/front-interop-impl/feed)WikiDiscussions 1.x Synced today

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

front-interop/impl
==================

[](#front-interopimpl)

[![PDS Skeleton](https://camo.githubusercontent.com/50d01a5094afcc3a827c3cadaec43d23b2a256cb249f5fdd6e5ffdb53ea7971c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7064732d736b656c65746f6e2d626c75652e7376673f7374796c653d666c61742d737175617265)](https://github.com/php-pds/skeleton)[![PDS Composer Script Names](https://camo.githubusercontent.com/0c17df07fd0a51ad878f1de0d4c17ea8e460f2e96ce796c8cd58e6c96ed9c08d/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7064732d636f6d706f7365722d2d7363726970742d2d6e616d65732d626c75653f7374796c653d666c61742d737175617265)](https://github.com/php-pds/composer-script-names)

Reference implementations of the [Front-Interop](https://github.com/front-interop/interface) interface for PHP 8.4+.

These implementations are intentionally naive — they exist to showcase the [*FrontController*](https://github.com/front-interop/interface#frontcontroller) contract itself. Production front controllers would be obtained from an IoC container and would compose a request/response system, a router/dispatcher, a robust error handler, and so on.

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

[](#installation)

```
composer require front-interop/impl

```

Usage
-----

[](#usage)

Three reference implementations cover three execution contexts.

### *ConsoleFrontController*

[](#consolefrontcontroller)

A typical command-line console front controller, reading `$argv` and writing to injected `$stdout`/`$stderr` resources.

```
php bin/hello.php World

```

### *RequestFrontController*

[](#requestfrontcontroller)

A typical HTTP front controller, reading `$_GET` and emitting HTML.

Run `composer hello` at the package root, then visit:

### *FrankenFrontController*

[](#frankenfrontcontroller)

A specialized front controller for [FrankenPHP](https://frankenphp.dev), wrapping a `RequestFrontController` in a `frankenphp_handle_request()` worker loop bounded by an optional maximum request count (`0` for unbounded).

Classes
-------

[](#classes)

InterfaceImplementation*FrontController*`ConsoleFrontController`, `RequestFrontController`, `FrankenFrontController`All classes are in the `FrontInterop\Impl` namespace.

See the [Front-Interop](https://github.com/front-interop/interface) interface package for the full specification.

###  Health Score

35

—

LowBetter than 77% of packages

Maintenance89

Actively maintained with recent releases

Popularity2

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity37

Early-stage or recently created project

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

Total

2

Last Release

57d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/25754?v=4)[Paul M. Jones](/maintainers/pmjones)[@pmjones](https://github.com/pmjones)

---

Top Contributors

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

---

Tags

controllerfront

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/front-interop-impl/health.svg)

```
[![Health](https://phpackages.com/badges/front-interop-impl/health.svg)](https://phpackages.com/packages/front-interop-impl)
```

###  Alternatives

[aimeos/ai-controller-frontend

Aimeos business controller logic for frontend

1.0k351.6k20](/packages/aimeos-ai-controller-frontend)[aura/dispatcher

Creates objects from a factory and invokes methods using named parameters; also provides a trait for invoking closures and object methods with named parameters.

3697.9k3](/packages/aura-dispatcher)

PHPackages © 2026

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