PHPackages                             shish/eventtracer-php - 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. shish/eventtracer-php

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

shish/eventtracer-php
=====================

An API to write JSON traces as used by the Chrome Trace Viewer

v2.2.2(7mo ago)841.1k↓49.4%MITPHPPHP ^8.2CI failing

Since Mar 26Pushed 5mo agoCompare

[ Source](https://github.com/shish/eventtracer-php)[ Packagist](https://packagist.org/packages/shish/eventtracer-php)[ Docs](https://github.com/shish/eventtracer-php)[ RSS](/packages/shish-eventtracer-php/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (3)Versions (11)Used By (0)

Generating Data:
----------------

[](#generating-data)

```
$et = new \EventTracer("myeventlog.json");

$et->begin("Eating Cake");
[...]
$et->end();
```

If filename isn't specified, then data will be buffered in-memory (`$et->buffer`) and can be written to disk in one go with `$et->flush($filename)`.

Viewing Data:
-------------

[](#viewing-data)

Use [Perfetto](https://ui.perfetto.dev) and "Open trace file"

[![Screenshot](.github/readme/trace.png)](.github/readme/trace.png)

Format Spec:
------------

[](#format-spec)

[Google Doc](https://docs.google.com/document/d/1CvAClvFfyA5R-PhYUmn5OOQtYMH4h6I0nSsKchNAySU/edit)

Uses the JSON Array Format because that's the one which can be appended to from multiple threads

###  Health Score

51

—

FairBetter than 96% of packages

Maintenance68

Regular maintenance activity

Popularity34

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity75

Established project with proven stability

 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.

###  Release Activity

Cadence

Every ~252 days

Recently: every ~242 days

Total

9

Last Release

228d ago

Major Versions

v0.1.0 → v1.0.02020-03-26

v1.0.0 → v2.0.02020-09-20

PHP version history (5 changes)v0.1.0PHP ^7.2

v2.0.0PHP ^7.3

v2.0.1PHP ^7.3 | ^8.0

v2.1.0PHP ^8.0

v2.1.1PHP ^8.2

### Community

Maintainers

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

---

Top Contributors

[![shish](https://avatars.githubusercontent.com/u/40659?v=4)](https://github.com/shish "shish (63 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/shish-eventtracer-php/health.svg)

```
[![Health](https://phpackages.com/badges/shish-eventtracer-php/health.svg)](https://phpackages.com/packages/shish-eventtracer-php)
```

###  Alternatives

[optimistdigital/nova-sortable

This Laravel Nova package allows you to reorder models in a Nova resource's index view using drag &amp; drop.

2872.1M6](/packages/optimistdigital-nova-sortable)

PHPackages © 2026

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