PHPackages                             dtdi/laravel-eventlog - 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. dtdi/laravel-eventlog

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

dtdi/laravel-eventlog
=====================

A package for exporting event log tables to Process Mining Logs

v0.1.0(2y ago)03[1 PRs](https://github.com/dtdi/laravel-eventlog/pulls)MITPHPPHP ^8.1

Since Mar 8Pushed 1y ago1 watchersCompare

[ Source](https://github.com/dtdi/laravel-eventlog)[ Packagist](https://packagist.org/packages/dtdi/laravel-eventlog)[ Docs](https://github.com/dtdi/laravel-eventlog)[ GitHub Sponsors](https://github.com/Dtdi)[ RSS](/packages/dtdi-laravel-eventlog/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (14)Versions (3)Used By (0)

Export Process Mining Event Logs from your Laravel Application with laravel-eventlog
====================================================================================

[](#export-process-mining-event-logs-from-your-laravel-application-with--laravel-eventlog)

[![Latest Version on Packagist](https://camo.githubusercontent.com/1a7dd6d0f030669b315704e2402b140628fefa22a8af6e2ad830d259174b2923/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f647464692f6c61726176656c2d6576656e746c6f672e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/dtdi/laravel-eventlog)[![GitHub Tests Action Status](https://camo.githubusercontent.com/f0d05ea17b9615fbf08cb648a37dde89f555b79a398bc82b5b9faf9ebe186abb/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f647464692f6c61726176656c2d6576656e746c6f672f72756e2d74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/dtdi/laravel-eventlog/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/dcd791fc3bc72c46b878abda26a05c0ea5ae28da67424579230195a57631f1be/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f647464692f6c61726176656c2d6576656e746c6f672f6669782d7068702d636f64652d7374796c652d6973737565732e796d6c3f6272616e63683d6d61696e266c6162656c3d636f64652532307374796c65267374796c653d666c61742d737175617265)](https://github.com/dtdi/laravel-eventlog/actions?query=workflow%3A%22Fix+PHP+code+style+issues%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/c287d3473503509352c67f73b739698ccf8fbdf87ce43cf3e0bd8bffb24ba852/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f647464692f6c61726176656c2d6576656e746c6f672e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/dtdi/laravel-eventlog)

The **laravel-eventlog** package is designed to facilitate the extraction of process mining event log data within Laravel applications. If you’re working on a Laravel project that involves any central activity table this package might be helpful. Whether you’re using popular packages like spatie/laravel-activitylog or snipe/snipe-it, laravel-eventlog has you covered.

Process mining is a data-driven discipline that aims to extract valuable insights from event logs generated by information systems. These event logs capture the execution of processes within an organization, providing a wealth of information about how activities are performed, their sequences, and potential bottlenecks. Here’s where OCEL (Object-Centric Event Log) comes into play: OCELs serve as the foundation for object-centric process mining (OCPM). Unlike traditional event logs, which focus on process instances (cases) and their associated activities, OCELs take a different perspective. In OCELs, each event is related to specific objects (e.g., orders, customers, products) rather than just process instances. These objects can be uniquely identified instances (e.g., “order-123”) and have associated attributes that may change over time. OCELs allow us to capture more detailed information about objects and their relationships.

### Implemented Export Formats

[](#implemented-export-formats)

Implements [OCEL 1.0](https://www.ocel-standard.org/1.0/) as xml export

Support us
----------

[](#support-us)

[![](https://camo.githubusercontent.com/b07218b140217882da2d514edcac42f6692dbae3df74c8cd5de4b47e0b41bc83/68747470733a2f2f647464692e64652f6164732f6c61726176656c2d6576656e746c6f672e706e67)](https://dtdi.de/i.php?repo=laravel-eventlog)

[!["Buy Me A Coffee"](https://camo.githubusercontent.com/b308ed4649f7bf657b2b741497cc6008d6d3595c960dba00ac6dd1982603aacb/68747470733a2f2f7777772e6275796d6561636f666665652e636f6d2f6173736574732f696d672f637573746f6d5f696d616765732f79656c6c6f775f696d672e706e67)](https://www.buymeacoffee.com/dtdi)

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

[](#installation)

You can install the package via composer:

```
composer require dtdi/laravel-eventlog
```

You should publish the config file with:

```
php artisan vendor:publish --tag="laravel-eventlog-config"
```

This is the contents of the published config file:

```
return [

    /*
     * This model will be used as base event.
     * and extend Illuminate\Database\Eloquent\Model.
     */
    'event_model' => null,

    'event_id' => 'id',
    'timestamp' => 'created_at',
    'event_name' => 'action_type',

];
```

Usage
-----

[](#usage)

In code

```
$logPath = eventlog()->setupForSnipeIt()->setLogExporter(new OCEL1)->write();
```

Using the `php artisan pm:dump` command.

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

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

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [Tobias Fehrer](https://github.com/dtdi)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance27

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 71.4% 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

Unknown

Total

1

Last Release

794d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/95ea1f4a88c1331d1d455d8cf3c16336887fda7e17f8f7cd232250de8454bd4e?d=identicon)[dtdi](/maintainers/dtdi)

---

Top Contributors

[![dtdi](https://avatars.githubusercontent.com/u/922917?v=4)](https://github.com/dtdi "dtdi (5 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (1 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (1 commits)")

---

Tags

eventloglaravelocelphpprocess-miningprocessmininglaravelEvent Logprocess miningprocess sciencelaravel-eventlogOCELXES

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/dtdi-laravel-eventlog/health.svg)

```
[![Health](https://phpackages.com/badges/dtdi-laravel-eventlog/health.svg)](https://phpackages.com/packages/dtdi-laravel-eventlog)
```

###  Alternatives

[spatie/laravel-data

Create unified resources and data transfer objects

1.7k28.9M627](/packages/spatie-laravel-data)[spatie/laravel-livewire-wizard

Build wizards using Livewire

4061.0M4](/packages/spatie-laravel-livewire-wizard)[hirethunk/verbs

An event sourcing package that feels nice.

513162.9k6](/packages/hirethunk-verbs)[worksome/exchange

Check Exchange Rates for any currency in Laravel.

123544.7k](/packages/worksome-exchange)[ralphjsmit/livewire-urls

Get the previous and current url in Livewire.

82270.3k4](/packages/ralphjsmit-livewire-urls)[hydrat/filament-table-layout-toggle

Filament plugin adding a toggle button to tables, allowing user to switch between Grid and Table layouts.

6292.3k1](/packages/hydrat-filament-table-layout-toggle)

PHPackages © 2026

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