PHPackages                             xiaodi/think-whoops - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Debugging &amp; Profiling](/categories/debugging)
4. /
5. xiaodi/think-whoops

ActiveLibrary[Debugging &amp; Profiling](/categories/debugging)

xiaodi/think-whoops
===================

A debug service for ThinkPHP.

v1.1.8(5y ago)393.6k7[3 issues](https://github.com/edenleung/think-whoops/issues)1MITPHPPHP &gt;=7.1.0

Since Dec 6Pushed 5y ago1 watchersCompare

[ Source](https://github.com/edenleung/think-whoops)[ Packagist](https://packagist.org/packages/xiaodi/think-whoops)[ RSS](/packages/xiaodi-think-whoops/feed)WikiDiscussions master Synced today

READMEChangelog (4)Dependencies (2)Versions (5)Used By (1)

think-whoops
============

[](#think-whoops)

让Whoops接管ThinkPHP6异常, Whoops提供stackbased错误捕获及超美观的错误

[![Latest Stable Version](https://camo.githubusercontent.com/9f429f38223f40b9ba7e01e00f0fbb835acd57d93e672db9f274c5074a4eb088/68747470733a2f2f706f7365722e707567782e6f72672f7869616f64692f7468696e6b2d77686f6f70732f76657273696f6e)](https://packagist.org/packages/xiaodi/think-whoops)[![Total Downloads](https://camo.githubusercontent.com/c49b02437e66556deb528389fb62940ccba4747b7de2c28f5e542d874728bbae/68747470733a2f2f706f7365722e707567782e6f72672f7869616f64692f7468696e6b2d77686f6f70732f646f776e6c6f616473)](https://packagist.org/packages/xiaodi/think-whoops)[![License](https://camo.githubusercontent.com/51ad9d2c65b8ff2649e4887b93800f07c4864b72c842830680656bdb7611b85b/68747470733a2f2f706f7365722e707567782e6f72672f7869616f64692f7468696e6b2d77686f6f70732f6c6963656e7365)](https://packagist.org/packages/xiaodi/think-whoops)

安装
--

[](#安装)

```
$ composer require xiaodi/think-whoops
```

开启/关闭接管
-------

[](#开启关闭接管)

开启 `APP_DEBUG` 才正常接管， 关闭默认转交ThinkPHP处理 `config/whoops.php`

```
