PHPackages                             addvilz/what\_loaded - 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. addvilz/what\_loaded

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

addvilz/what\_loaded
====================

Determine What packages, classes and vendors were loaded during execution

110PHP

Since Aug 3Pushed 10y agoCompare

[ Source](https://github.com/Addvilz/what_loaded)[ Packagist](https://packagist.org/packages/addvilz/what_loaded)[ RSS](/packages/addvilz-what-loaded/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

WhatLoaded?!
============

[](#whatloaded)

WhatLoaded is essentially a autoloader hook that listens for autoload calls and registers all classes that is loaded via autoloader. It is later possible to analyze this data to get insight on dependencies and whatever other metrics you could extract from this.

Installation
------------

[](#installation)

`composer require addvilz/what_loaded`

Usage
-----

[](#usage)

**IMPORTANT:** `WhatLoaded::start` must be invoked **AFTER any other autoload handlers** are registered. For example, if you are using composer, you must invoke `WhatLoaded::start` after `require '/vendor/autoload.php'`.

### Rendering stats manually

[](#rendering-stats-manually)

```
    \Addvilz\WhatLoaded\WhatLoaded::start();
    // ... code
    \Addvilz\WhatLoaded\WhatLoaded::render();
```

### Retrieving collected data

[](#retrieving-collected-data)

```
    \Addvilz\WhatLoaded\WhatLoaded::start();
    // ... code
    $data = \Addvilz\WhatLoaded\WhatLoaded::collect();
```

### Rendering stats on shutdown

[](#rendering-stats-on-shutdown)

```
    \Addvilz\WhatLoaded\WhatLoaded::start();
    \Addvilz\WhatLoaded\WhatLoaded::renderOnShutdown();
    // ... code
```

License
-------

[](#license)

Licensed under terms and conditions of Apache 2.0 license.

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/109aac4de31cd0ed15e840d5bd71cc57ed09aff1f69de81ee57a390d927a645e?d=identicon)[addvilz](/maintainers/addvilz)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/addvilz-what-loaded/health.svg)

```
[![Health](https://phpackages.com/badges/addvilz-what-loaded/health.svg)](https://phpackages.com/packages/addvilz-what-loaded)
```

###  Alternatives

[symfony/stopwatch

Provides a way to profile code

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

PHP Debugbar integration for Laravel

19.1k662.9k29](/packages/fruitcake-laravel-debugbar)[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)[beyondcode/helo-laravel

HELO Laravel debug helper

90360.1k](/packages/beyondcode-helo-laravel)

PHPackages © 2026

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