Installs: 0

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 0

Open Issues: 0

pkg:composer/front-interop/impl

1.x-dev 2026-02-04 05:33 UTC

This package is auto-updated.

Last update: 2026-02-04 05:35:26 UTC


README

PDS Skeleton PDS Composer Script Names

This package include three reference implementations for Front-Interop:

  • ConsoleFrontController
  • RequestFrontController
  • FrankenFrontController

These are intentionally naive to showcase the front controller functionality itself. Real front controllers would be obtained from an IOC container, and would include a request/response system, a router/dispatch system, a robust error handler system, and so on.

ConsoleFrontController

This is a typical command-line console front controller.

To run it, issue the following command at the package root:

php bin/hello.php World

RequestFrontController

This is a typical HTTP front controller.

To run it, issue composer hello at the package root, then visit the following link:

http://localhost:8080/index.php?name=World

FrankenFrontController

This is a specialized front controller for FrankenPHP that points workers to a RequestFrontController.