承接 franzl/whoops-middleware 相关项目开发

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

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

franzl/whoops-middleware

最新稳定版本:2.0.0

Composer 安装命令:

composer require franzl/whoops-middleware

包简介

PSR-15 compatible middleware for Whoops, the pretty error handler

README 文档

README

A PSR-15 compatible middleware for Whoops, the fantastic pretty error handler for PHP.

Installation

You can install the library using Composer:

composer require franzl/whoops-middleware

Usage

Assuming you are using a PSR-15 compatible middleware dispatcher (such as zend-stratigility, Relay, or broker), all you need to do is add the middleware class to your pipeline / broker / dispatcher ...

This might look as follows:

Stratigility

$pipe->pipe(new \Franzl\Middleware\Whoops\WhoopsMiddleware)

Relay

$queue = [];
// ...
$queue[] = new \Franzl\Middleware\Whoops\WhoopsMiddleware;
$relay = new Relay($queue);

broker

$broker->always(\Franzl\Middleware\Whoops\WhoopsMiddleware::class)

统计信息

  • 总下载量: 1.85M
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 29
  • 点击次数: 1
  • 依赖项目数: 20
  • 推荐数: 2

GitHub 信息

  • Stars: 28
  • Watchers: 1
  • Forks: 10
  • 开发语言: PHP

其他信息

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