PHPackages                             jonaspardon/laravel-event-visualizer - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. jonaspardon/laravel-event-visualizer

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

jonaspardon/laravel-event-visualizer
====================================

Laravel package to visualize events with their handlers, including jobs to chain them together

v0.4.4(2y ago)2644.9k7[3 issues](https://github.com/JonasPardon/laravel-event-visualizer/issues)MITPHPPHP ^8.1CI passing

Since May 9Pushed 1w ago4 watchersCompare

[ Source](https://github.com/JonasPardon/laravel-event-visualizer)[ Packagist](https://packagist.org/packages/jonaspardon/laravel-event-visualizer)[ Docs](https://github.com/jonaspardon/laravel-event-visualizer)[ RSS](/packages/jonaspardon-laravel-event-visualizer/feed)WikiDiscussions main Synced today

READMEChangelog (9)Dependencies (15)Versions (13)Used By (0)

Laravel Event Visualizer
========================

[](#laravel-event-visualizer)

[![Latest Version on Packagist](https://camo.githubusercontent.com/fa5167105ab7ccbc0b0cdab3dd15cc0111df4de4ee5e124bea956c872654150a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6a6f6e6173706172646f6e2f6c61726176656c2d6576656e742d76697375616c697a65722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/jonaspardon/laravel-event-visualizer)[![GitHub Tests Action Status](https://camo.githubusercontent.com/39de846c6a321bc1970639f0b3ec428ce4a2b05d84871d4130a885cee1f36f1c/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6a6f6e6173706172646f6e2f6c61726176656c2d6576656e742d76697375616c697a65722f72756e2d74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473)](https://github.com/jonaspardon/laravel-event-visualizer/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/9c5c61d9772533cb5a79b901f4980b41452b45ac324887d473b92cd9d2688097/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6a6f6e6173706172646f6e2f6c61726176656c2d6576656e742d76697375616c697a65722f7068702d63732d66697865722e796d6c3f6272616e63683d6d61696e266c6162656c3d636f64652532307374796c65)](https://github.com/jonaspardon/laravel-event-visualizer/actions?query=workflow%3A%22Check+%26+fix+styling%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/3dbd23eec43d522c590786914c7376ea0b30541b64f212bc4fd09ea5d40d927c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6a6f6e6173706172646f6e2f6c61726176656c2d6576656e742d76697375616c697a65722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/jonaspardon/laravel-event-visualizer)

Laravel package to visualize events with their handlers, including jobs to chain them together.

[![Example](./example.png)](./example.png)

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

[](#installation)

You will need PHP 8.1 or higher.

Install the package via composer:

```
composer require jonaspardon/laravel-event-visualizer --dev
```

Publish the config file with:

```
php artisan vendor:publish --tag="event-visualizer-config"
```

Publish the views with:

```
php artisan vendor:publish --tag="event-visualizer-views"
```

Usage
-----

[](#usage)

Visit `your-app.test/event-visualizer` on a non-production environment.

How does it work?
-----------------

[](#how-does-it-work)

The starting point is your registered app events and their listeners/subscribers as defined in your `EventServiceProvider`.

For each of those listeners/subscribers, the package will try to find the dispatched events and jobs by parsing the code and traversing through the abstract syntax tree. For every event/job found, the same AST traversal will be done recursively until it reaches the end.

Supported
---------

[](#supported)

SyntaxSupported?`\Event` facade static call✅`\Bus` facade static call✅`\Illuminate\Support\Facades\Event` facade static call✅`\Illuminate\Support\Facades\Bus` facade static call✅`\Illuminate\Contracts\Events\Dispatcher` injected variable call✅`\Illuminate\Contracts\Bus\Dispatcher` injected variable call✅`event(...)` helper✅`dispatch(...)` helper✅Bus chains❌For dependency injection, both constructor and method injection are supported.

Inline instantiation of classes is supported.

Passing variables (`Event::dispatch($event)` as opposed to `Event::dispatch(new EventName())`) is supported, but there might be some edge cases where it fails. If you encounter these, please open an issue and provide a code sample.

Testing
-------

[](#testing)

```
composer test
```

Contributing
------------

[](#contributing)

Contributions are welcome.

When sending in a PR, please make sure to add/modify tests for the code you touch.

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

44

—

FairBetter than 90% of packages

Maintenance61

Regular maintenance activity

Popularity33

Limited adoption so far

Community18

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 58% 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 ~87 days

Recently: every ~80 days

Total

9

Last Release

816d ago

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

v0.3.0PHP ^8.1

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/10206461?v=4)[Jonas Pardon](/maintainers/JonasPardon)[@JonasPardon](https://github.com/JonasPardon)

---

Top Contributors

[![JonasPardon](https://avatars.githubusercontent.com/u/10206461?v=4)](https://github.com/JonasPardon "JonasPardon (65 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (25 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (13 commits)")[![joelvh](https://avatars.githubusercontent.com/u/129096?v=4)](https://github.com/joelvh "joelvh (4 commits)")[![ukkok](https://avatars.githubusercontent.com/u/10627359?v=4)](https://github.com/ukkok "ukkok (3 commits)")[![pieterclaerhout](https://avatars.githubusercontent.com/u/74731?v=4)](https://github.com/pieterclaerhout "pieterclaerhout (2 commits)")

---

Tags

event-driveneventsflowchartlaravelmermaidjspackagelaravelJonasPardonlaravel-event-visualizer

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/jonaspardon-laravel-event-visualizer/health.svg)

```
[![Health](https://phpackages.com/badges/jonaspardon-laravel-event-visualizer/health.svg)](https://phpackages.com/packages/jonaspardon-laravel-event-visualizer)
```

###  Alternatives

[dedoc/scramble

Automatic generation of API documentation for Laravel applications.

2.1k11.2M100](/packages/dedoc-scramble)[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M345](/packages/psalm-plugin-laravel)[spatie/laravel-pdf

Create PDFs in Laravel apps

1.0k4.8M47](/packages/spatie-laravel-pdf)[codewithdennis/filament-select-tree

The multi-level select field enables you to make single selections from a predefined list of options that are organized into multiple levels or depths.

329530.5k29](/packages/codewithdennis-filament-select-tree)[elegantly/laravel-translator

All on one translations management for Laravel

6333.1k](/packages/elegantly-laravel-translator)[tarfin-labs/event-machine

Event-driven state machines for Laravel with event sourcing, type-safe context, and full audit trail.

199.4k](/packages/tarfin-labs-event-machine)

PHPackages © 2026

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