An open API service indexing awesome lists of open source software.

https://github.com/alexanderschnitzler/typo3-middleware-whoops

An extension that registers middlewares/whoops as a TYPO3 middleware
https://github.com/alexanderschnitzler/typo3-middleware-whoops

error-handler middleware psr-15 psr-7 typo3 whoops

Last synced: 14 days ago
JSON representation

An extension that registers middlewares/whoops as a TYPO3 middleware

Awesome Lists containing this project

README

          

# TYPO3 Middleware "Whoops"

This package is a TYPO3 extension which registers the package `middlewares/whoops` as a middleware in TYPO3 >= 9.5.0 to
enable `filp/whoops` as php error handler.

While the improved DebugExceptionHandler of TYPO3 has already been heavily improved in version 9, you might still prefer
`filp/whoops` as your error handler.

## What is the difference compared to `portrino/typo3-whoops`?

Well, the main difference is the use of the middleware `middlewares/whoops`, which simply integrates into TYPO3 without
having to write any code at all.

Besides that, `middlewares/whoops` accepts the `Accept` http header which enables you to get errors in different formats
like `json`, `xml`, `plaintext`.