PHPackages                             pana1990/php-web-profiler - 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. [Logging &amp; Monitoring](/categories/logging)
4. /
5. pana1990/php-web-profiler

ActiveLibrary[Logging &amp; Monitoring](/categories/logging)

pana1990/php-web-profiler
=========================

Web profiler in the browser for php application

v0.3.2-alpha(3y ago)131.4k1[2 issues](https://github.com/pana1990/php-web-profiler/issues)[1 PRs](https://github.com/pana1990/php-web-profiler/pulls)MITPHPPHP &gt;=8

Since Oct 29Pushed 3y ago2 watchersCompare

[ Source](https://github.com/pana1990/php-web-profiler)[ Packagist](https://packagist.org/packages/pana1990/php-web-profiler)[ Docs](https://github.com/pana1990/php-web-profiler)[ RSS](/packages/pana1990-php-web-profiler/feed)WikiDiscussions main Synced today

READMEChangelog (5)Dependencies (3)Versions (9)Used By (0)

PHP Web Toolbar
===============

[](#php-web-toolbar)

[![Latest Stable Version](https://camo.githubusercontent.com/7906181232fad71116f41c97132a64d6b9cdce7371293743291b9163c2cd743e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f70616e61313939302f7068702d7765622d70726f66696c65722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/pana1990/php-web-profiler)[![Minimum PHP Version](https://camo.githubusercontent.com/7f91fd16f805b376c8b9137ddc479aabdc9f79d19807832f85606cb3b74409c4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d253345253344253230382e302d3838393242462e7376673f7374796c653d666c61742d737175617265)](https://php.net/)[![Build Status](https://github.com/pana1990/php-web-profiler/actions/workflows//lint.yml/badge.svg)](https://github.com/pana1990/php-web-profiler/actions)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE)

This package is under development. Please do not use in production yet 🙏

TODO

Getting Started
---------------

[](#getting-started)

```
$ composer require --dev pana1990/php-web-profiler

```

Example usage with slim framework:

```
require __DIR__ . '/vendor/autoload.php';

$app = AppFactory::create();

// services
Db::setUp(); // setup schema
$pdoTraceable = new PdoTraceable('sqlite:' . __DIR__ . '/src/db/bbdd.db');
$log = (new Logger('log'))->pushHandler(new ErrorLogHandler());
$traceableLogger = new LoggerTraceable($log);

// setup for PhpWebProfiler
SlimPhpWebProfilerBuilder::fromApp($app)
    ->withPdo($pdoTraceable)
    ->withLogger($traceableLogger)
    ->build();

$app->get('/', function (Request $request, Response $response) use ($traceableLogger, $pdoTraceable) {
    $response->getBody()->write('Hello world!');

    $traceableLogger->error('This is an error message');

    $pdoTraceable->exec('INSERT INTO test (title) VALUES ("test");');
    $pdoTraceable->exec('SELECT * FROM test;');

    return $response;
});

$app->run();
```

See full example in [here](./examples/slim).

> Note: with this setup you have two endpoints enabled (`debug` and `debug/:token`)

📷 Screenshots
-------------

[](#-screenshots)

Index page

[![Request panel](./docs/screenshots/index.png)](./docs/screenshots/index.png)

Request panel

[![Request panel](./docs/screenshots/request.png)](./docs/screenshots/request.png)

Log panel

[![Log panel](./docs/screenshots/log.png)](./docs/screenshots/log.png)

Database panel

[![Database panel](./docs/screenshots/database.png)](./docs/screenshots/database.png)

📅 ROADMAP
---------

[](#-roadmap)

\[ \] Add support for slim

⚖️ LICENSE
----------

[](#️-license)

php-web-profiler is released under the MIT License. See the bundled [LICENSE](LICENSE) for details.

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance17

Infrequent updates — may be unmaintained

Popularity25

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity38

Early-stage or recently created project

 Bus Factor1

Top contributor holds 87.1% 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

Every ~36 days

Total

5

Last Release

1197d ago

PHP version history (2 changes)v0.1.0-alphaPHP ^8

v0.2.0-alphaPHP &gt;=8

### Community

Maintainers

![](https://www.gravatar.com/avatar/fca1e4cbde2ef6115c3ab85ba91bb2cf410eaa6e6ebf5ca8898c5f731ffbdf1e?d=identicon)[pana1990](/maintainers/pana1990)

---

Top Contributors

[![pana1990](https://avatars.githubusercontent.com/u/6630197?v=4)](https://github.com/pana1990 "pana1990 (54 commits)")[![jnunez-aramisgroup](https://avatars.githubusercontent.com/u/35374147?v=4)](https://github.com/jnunez-aramisgroup "jnunez-aramisgroup (4 commits)")[![JoniJnm](https://avatars.githubusercontent.com/u/577282?v=4)](https://github.com/JoniJnm "JoniJnm (4 commits)")

---

Tags

debugdebugbarloggingprofilerwebprofilerloggingdebugprofilerdebugbarwebprofiler

###  Code Quality

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/pana1990-php-web-profiler/health.svg)

```
[![Health](https://phpackages.com/badges/pana1990-php-web-profiler/health.svg)](https://phpackages.com/packages/pana1990-php-web-profiler)
```

###  Alternatives

[snowair/phalcon-debugbar

Integrates PHP Debug Bar with Phalcon.

159125.9k1](/packages/snowair-phalcon-debugbar)

PHPackages © 2026

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