承接 front-interop/impl 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

front-interop/impl

最新稳定版本:1.0.0-alpha1

Composer 安装命令:

composer require front-interop/impl

包简介

Reference implementations for Front-Interop.

README 文档

README

PDS Skeleton PDS Composer Script Names

Reference implementations of the Front-Interop interface for PHP 8.4+.

These implementations are intentionally naive — they exist to showcase the 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

composer require front-interop/impl

Usage

Three reference implementations cover three execution contexts.

ConsoleFrontController

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

php bin/hello.php World

RequestFrontController

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

Run composer hello at the package root, then visit:

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

FrankenFrontController

A specialized front controller for FrankenPHP, wrapping a RequestFrontController in a frankenphp_handle_request() worker loop bounded by an optional maximum request count (0 for unbounded).

Classes

Interface Implementation
FrontController ConsoleFrontController, RequestFrontController, FrankenFrontController

All classes are in the FrontInterop\Impl namespace.

See the Front-Interop interface package for the full specification.

统计信息

  • 总下载量: 0
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 4
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-02-04

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固