PHPackages                             nabeelalihashmi/lightstats - 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. nabeelalihashmi/lightstats

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

nabeelalihashmi/lightstats
==========================

Easy to use stats viewer and Debugger for PHP

14PHP

Since Jun 23Pushed 3y ago1 watchersCompare

[ Source](https://github.com/nabeelalihashmi/LightStats)[ Packagist](https://packagist.org/packages/nabeelalihashmi/lightstats)[ RSS](/packages/nabeelalihashmi-lightstats/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

[![LightStats](./docs/header.png)](./docs/header.png)

LightStats
==========

[](#lightstats)

An easy to use request inspector, debugger for PHP with ability to search.

[![LightStats Screenshot](./docs/ls.png)](./docs/ls.png)

About Author
------------

[](#about-author)

[Nabeel Ali](https://iconiccodes.com)

Website:

Email:

Features
--------

[](#features)

- Double click to copy the value of cell on clipboard.
- Fullscreen view.
- Size and Type info on hover.
- Toggle Types
- Search
- Change Transparency

[![Fullscreen Nested](./docs/nested.png)](./docs/nested.png)[![Fullscreen Nested](./docs/t.png)](./docs/t.png)

Installtion
-----------

[](#installtion)

```
composer require nabeelalihashmi/LightStats:dev-master

```

Usage
-----

[](#usage)

At start of script, store `microtime` value.

```
$start_time = microtime(true);

```

Create a new instance of `LightStats` class.

```
$stats = new LightStats;

```

At very end, call inspect method/

```
$stats->inspect($start_time);

```

### Inspect own items

[](#inspect-own-items)

LightStats provide static function `ldump`.

```
LightStats::ldump($key, $value);

```

---

License
-------

[](#license)

LightStats is released under permissive licese with following conditions:

- It cannot be used to create adult apps.
- It cannot be used to gambling apps.
- It cannot be used to create apps having hate speech.

### MIT License

[](#mit-license)

Copyright 2022 Nabeel Ali | IconicCodes.com

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

###  Health Score

15

—

LowBetter than 3% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity25

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/449341cf2d2c255eeaa52f06da4293fdcf2f407b10984846b6c130418c7b4eab?d=identicon)[nabeelalihashmi](/maintainers/nabeelalihashmi)

---

Top Contributors

[![nabeelalihashmi](https://avatars.githubusercontent.com/u/14184842?v=4)](https://github.com/nabeelalihashmi "nabeelalihashmi (8 commits)")

---

Tags

inspectorphpphp-debuggerstats-viewer

### Embed Badge

![Health badge](/badges/nabeelalihashmi-lightstats/health.svg)

```
[![Health](https://phpackages.com/badges/nabeelalihashmi-lightstats/health.svg)](https://phpackages.com/packages/nabeelalihashmi-lightstats)
```

###  Alternatives

[symfony/stopwatch

Provides a way to profile code

2.8k387.2M914](/packages/symfony-stopwatch)[fruitcake/laravel-debugbar

PHP Debugbar integration for Laravel

19.1k662.9k28](/packages/fruitcake-laravel-debugbar)[spatie/ignition

A beautiful error page for PHP applications.

510147.6M69](/packages/spatie-ignition)[jokkedk/webgrind

Webgrind is a Xdebug profiling web frontend in PHP5. It implements a subset of the features of kcachegrind and installs in seconds and works on all platforms. For quick'n'dirty optimizations it does the job.

3.3k193.0k](/packages/jokkedk-webgrind)[koriym/printo

An object graph visualizer.

1421.8M2](/packages/koriym-printo)[soloterm/dumps

A Laravel command to intercept dumps from your Laravel application.

125285.7k3](/packages/soloterm-dumps)

PHPackages © 2026

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