PHPackages                             tsaikoga/performance-printer - 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. tsaikoga/performance-printer

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

tsaikoga/performance-printer
============================

PerformancePrinter is a laravel package to print each requests' performance infomation for development.

v1.1.2(3y ago)433[1 issues](https://github.com/TsaiKoga/PerformancePrinter/issues)MITPHPPHP ^8.0.0|^7.0.0CI failing

Since Jun 2Pushed 3y ago1 watchersCompare

[ Source](https://github.com/TsaiKoga/PerformancePrinter)[ Packagist](https://packagist.org/packages/tsaikoga/performance-printer)[ RSS](/packages/tsaikoga-performance-printer/feed)WikiDiscussions master Synced 6d ago

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

Performance Printer
===================

[](#performance-printer)

 [![Stable](https://camo.githubusercontent.com/34a37355ac9f2f97ef6474c47e52d79dffe4aacf60d94cc68b4ec77bcb47683a/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f737461626c652d76312e312e322d627269676874677265656e)](https://camo.githubusercontent.com/34a37355ac9f2f97ef6474c47e52d79dffe4aacf60d94cc68b4ec77bcb47683a/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f737461626c652d76312e312e322d627269676874677265656e) [![Unstable](https://camo.githubusercontent.com/323dee4701db2761da13f729a556b509d95d451080ae42ea85f65e3591b9afcd/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f756e737461626c652d6465762d2d6d61737465722d626c7565)](https://camo.githubusercontent.com/323dee4701db2761da13f729a556b509d95d451080ae42ea85f65e3591b9afcd/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f756e737461626c652d6465762d2d6d61737465722d626c7565) [![License](https://camo.githubusercontent.com/2c35df2da25b9f18c8db9916b00354a485470a77c6b52eeaa3c9ca691c64f259/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d6f72616e67652e737667)](https://camo.githubusercontent.com/2c35df2da25b9f18c8db9916b00354a485470a77c6b52eeaa3c9ca691c64f259/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d6f72616e67652e737667) [![Laravel](https://camo.githubusercontent.com/9d78fe0c923d62db4e6db754f4b60308dd0c2bb017eba1a5d3554c41dc978fbf/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c61726176656c2d352e352532422d677265656e)](https://camo.githubusercontent.com/9d78fe0c923d62db4e6db754f4b60308dd0c2bb017eba1a5d3554c41dc978fbf/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c61726176656c2d352e352532422d677265656e)

Performance Printer is a laravel package to print each requests' performance infomation for development.

**require** : Laravel/framework 5.5+

Features
--------

[](#features)

- Request

> Display request method, request path and request body.

- Files

> The count of included files

- Query

> Each raw SQL that be generated by request and the times it costs.
>
> The explain of SQL
>
> The SQL count of request

- Response

> The response datas and the times it costs.

Usage
-----

[](#usage)

1. Install the package for development environment:

**Stable version**:

```
composer require tsaikoga/performance-printer --dev
```

**Unstable version**:

```
composer require tsaikoga/performance-printer:dev-master --dev
```

You can add custom configuration for the printer.

2. Create a file `config/performance_printer.php`:

```
