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
- Host: GitHub
- URL: https://github.com/alexanderschnitzler/typo3-middleware-whoops
- Owner: alexanderschnitzler
- Created: 2018-11-04T17:33:31.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-11-06T08:25:40.000Z (over 7 years ago)
- Last Synced: 2025-12-14T12:44:27.486Z (6 months ago)
- Topics: error-handler, middleware, psr-15, psr-7, typo3, whoops
- Language: PHP
- Size: 1.95 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
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`.