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 today

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 13% 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

[fjogeleit/prometheus-messenger-middleware

Prometheus Middleware for the Symfony Messenger Component

2255.2k](/packages/fjogeleit-prometheus-messenger-middleware)[spatie/craft-ray

Easily debug CraftCMS projects

1638.6k](/packages/spatie-craft-ray)

PHPackages © 2026

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