PHPackages                             mcuelenaere/slim-bluescreen - 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. mcuelenaere/slim-bluescreen

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

mcuelenaere/slim-bluescreen
===========================

0.0.1(12y ago)220BSD-3-ClausePHP

Since Dec 29Pushed 12y ago1 watchersCompare

[ Source](https://github.com/mcuelenaere/slim-bluescreen)[ Packagist](https://packagist.org/packages/mcuelenaere/slim-bluescreen)[ RSS](/packages/mcuelenaere-slim-bluescreen/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependencies (1)Versions (2)Used By (0)

Slim Bluescreen
===============

[](#slim-bluescreen)

This is a port of the awesome blue screen provided by the [Nette Framework](http://nette.org/).

Getting started
---------------

[](#getting-started)

### Installation

[](#installation)

Add this package as a requirement to your `composer.json`:

```
"require": {
	"mcuelenaere/slim-bluescreen": "dev-master"
}

```

### Usage

[](#usage)

#### Slim 2.x

[](#slim-2x)

Replace the default Slim exception middleware with the one provided by this project:

```
--- Slim.old.php	2013-12-27 20:08:50.000000000 +0100
+++ Slim.new.php	2013-12-27 20:09:13.000000000 +0100
@@ -1254,7 +1254,7 @@
         //Apply final outer middleware layers
         if ($this->config('debug')) {
             //Apply pretty exceptions only in debug to avoid accidental information leakage in production
-            $this->add(new \Slim\Middleware\PrettyExceptions());
+            $this->add(new \SlimBluescreen\BlueScreenMiddleware());
         }

         //Invoke middleware and application stack
```

#### Slim 3.x

[](#slim-3x)

```
// instantiate BlueScreen object
$bluescreen = new \SlimBluescreen\BlueScreen();

// register error handler with Slim app
$app->error(array($bluescreen, 'render'));
```

License
-------

[](#license)

This package is released under the New BSD License:

```
Copyright (c) 2013, Maurus Cuelenaere
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
    * Redistributions of source code must retain the above copyright
      notice, this list of conditions and the following disclaimer.
    * Redistributions in binary form must reproduce the above copyright
      notice, this list of conditions and the following disclaimer in the
      documentation and/or other materials provided with the distribution.
    * Neither the name of the  nor the
      names of its contributors may be used to endorse or promote products
      derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL  BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

```

### Nette Framework

[](#nette-framework)

This package contains modified sources of the Nette Framework, which is [dual-licensed](https://raw.github.com/nette/nette/master/license.md)as the New BSD License or the GNU General Public License (GPL) version 2 or 3.

```
Copyright (c) 2004, 2013 David Grudl (http://davidgrudl.com)
All rights reserved.

Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:

	* Redistributions of source code must retain the above copyright notice,
	this list of conditions and the following disclaimer.

	* Redistributions in binary form must reproduce the above copyright notice,
	this list of conditions and the following disclaimer in the documentation
	and/or other materials provided with the distribution.

	* Neither the name of "Nette Framework" nor the names of its contributors
	may be used to endorse or promote products derived from this software
	without specific prior written permission.

This software is provided by the copyright holders and contributors "as is" and
any express or implied warranties, including, but not limited to, the implied
warranties of merchantability and fitness for a particular purpose are
disclaimed. In no event shall the copyright owner or contributors be liable for
any direct, indirect, incidental, special, exemplary, or consequential damages
(including, but not limited to, procurement of substitute goods or services;
loss of use, data, or profits; or business interruption) however caused and on
any theory of liability, whether in contract, strict liability, or tort
(including negligence or otherwise) arising in any way out of the use of this
software, even if advised of the possibility of such damage.

```

###  Health Score

25

—

LowBetter than 36% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

4565d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3f2792daeaa3ddc83cf6d6013bd719bf95bd1b5086db00f44baa742d879b8f47?d=identicon)[mcuelenaere](/maintainers/mcuelenaere)

---

Top Contributors

[![mcuelenaere](https://avatars.githubusercontent.com/u/1682432?v=4)](https://github.com/mcuelenaere "mcuelenaere (2 commits)")

### Embed Badge

![Health badge](/badges/mcuelenaere-slim-bluescreen/health.svg)

```
[![Health](https://phpackages.com/badges/mcuelenaere-slim-bluescreen/health.svg)](https://phpackages.com/packages/mcuelenaere-slim-bluescreen)
```

###  Alternatives

[perftools/xhgui

A web based interface for viewing profile data collected by XHProf

1.7k116.1k](/packages/perftools-xhgui)[showdoc/showdoc

ShowDoc is a tool greatly applicable for an IT team to share documents online

12.8k7.1k](/packages/showdoc-showdoc)[phlak/directory-lister

PHP directory lister

2.5k1.4k](/packages/phlak-directory-lister)[oat-sa/tao-core

TAO core extension

66140.1k108](/packages/oat-sa-tao-core)[yusukezzz/slim-debugbar

4013.9k1](/packages/yusukezzz-slim-debugbar)[brandembassy/slim-nette-extension

19198.2k](/packages/brandembassy-slim-nette-extension)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
