PHPackages                             orisintel/laravel-process-stamps - 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. [Database &amp; ORM](/categories/database)
4. /
5. orisintel/laravel-process-stamps

Abandoned → [always-open/laravel-process-stamps](/?search=always-open%2Flaravel-process-stamps)Library[Database &amp; ORM](/categories/database)

orisintel/laravel-process-stamps
================================

Logs which process created or modified a record

v3.4.0(5y ago)9479.4k↓60%6[1 issues](https://github.com/orisintel/laravel-process-stamps/issues)[1 PRs](https://github.com/orisintel/laravel-process-stamps/pulls)1MITPHPPHP ^7.3|^8.0CI failing

Since Sep 5Pushed 4y ago14 watchersCompare

[ Source](https://github.com/orisintel/laravel-process-stamps)[ Packagist](https://packagist.org/packages/orisintel/laravel-process-stamps)[ Docs](https://github.com/orisintel/laravel-process-stamps)[ RSS](/packages/orisintel-laravel-process-stamps/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (10)Dependencies (6)Versions (27)Used By (1)

Laravel Process Stamps
======================

[](#laravel-process-stamps)

[![Latest Version on Packagist](https://camo.githubusercontent.com/7e65a2ad9f20e91566461feac002566baf2290ade2fae5f9ce5bc4c67f5276c4/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6f726973696e74656c2f6c61726176656c2d70726f636573732d7374616d70732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/orisintel/laravel-process-stamps)[![Build Status](https://camo.githubusercontent.com/99b1f2f69ea804459f3e886e2a95eba4cdbbe5a2b4d8beb5667c2a63e92cde6c/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f6f726973696e74656c2f6c61726176656c2d70726f636573732d7374616d70732f74657374733f7374796c653d666c61742d737175617265)](https://github.com/orisintel/laravel-process-stamps/actions?query=workflow%3Atests)[![Total Downloads](https://camo.githubusercontent.com/b0844a37a0d20f41a15f36adf6fe6e349fee818eb4e288354b87650bf0e31d54/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6f726973696e74656c2f6c61726176656c2d70726f636573732d7374616d70732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/orisintel/laravel-process-stamps)

It is sometimes very useful to know which process created or modified a particular record in your database. This package provides a trait to add to your Laravel models which automatically logs that for you.

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

[](#installation)

You can install the package via composer:

```
composer require orisintel/laravel-process-stamps
```

Configuration
-------------

[](#configuration)

```
php artisan vendor:publish --provider="\OrisIntel\ProcessStamps\ProcessStampsServiceProvider"
```

Running the above command will publish both the migration and the config file.

Usage
-----

[](#usage)

After adding the proper fields to your table, add the trait to your model.

```
// User model
class User extends Model
{
    use ProcessStampable;
```

Next, create a migration for your table and include the following:

```
$table->processIds();
```

To specify your own foreign key or index names, include the following options:

```
$table->processIds([
    'created_index_name' => 'custom_created_index_name',
    'updated_index_name' => 'custom_updated_index_name',
    'created_foreign_key_name' => 'custom_created_foreign_key_name',
    'updated_foreign_key_name' => 'custom_updated_foreign_key_name',
    ]);
```

That will generate the nessesary field names to track processes.

### Testing

[](#testing)

```
composer test
```

Using Docker
------------

[](#using-docker)

All assets are set up under the docker-compose.yml file. The first time you run the docker image you must build it with the following command:

```
docker-compose build
```

Then you can bring it up in the background using:

```
docker-compose up -d
```

And the image is aliased so you can access its command line via:

```
docker exec -it processes-stamp-app /bin/bash
```

From there you can run the tests within an isolated environment

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

[](#contributing)

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

### Security

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Tom Schlick](https://github.com/tomschlick)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

43

—

FairBetter than 91% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity40

Moderate usage in the ecosystem

Community22

Small or concentrated contributor base

Maturity77

Established project with proven stability

 Bus Factor1

Top contributor holds 70% 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 ~38 days

Total

26

Last Release

1859d ago

Major Versions

v0.1.0 → v1.0.12019-01-28

v1.3.0 → v2.0.02020-04-14

v1.3.2 → v2.0.22020-06-02

v1.3.3 → v2.0.32020-10-12

v2.0.3 → v3.0.02020-11-12

PHP version history (4 changes)v1.0.0PHP ^7.1

v2.0.0PHP ^7.2.5

v3.0.0PHP ^7.3

v3.2.0PHP ^7.3|^8.0

### Community

Maintainers

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

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

![](https://www.gravatar.com/avatar/7006eb1e1f263337f802453bc232edc6edc13324a004c297f8e0c5dbe019ba96?d=identicon)[orisintel](/maintainers/orisintel)

---

Top Contributors

[![tomschlick](https://avatars.githubusercontent.com/u/70184?v=4)](https://github.com/tomschlick "tomschlick (14 commits)")[![qschmick](https://avatars.githubusercontent.com/u/5342767?v=4)](https://github.com/qschmick "qschmick (4 commits)")[![solflare](https://avatars.githubusercontent.com/u/8484449?v=4)](https://github.com/solflare "solflare (2 commits)")

---

Tags

databasehacktoberfestlaravelloggingphpphp7laravellogginglaravel-process-stampsorisintel

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/orisintel-laravel-process-stamps/health.svg)

```
[![Health](https://phpackages.com/badges/orisintel-laravel-process-stamps/health.svg)](https://phpackages.com/packages/orisintel-laravel-process-stamps)
```

###  Alternatives

[anourvalar/eloquent-serialize

Laravel Query Builder (Eloquent) serialization

11120.2M21](/packages/anourvalar-eloquent-serialize)[dragon-code/laravel-deploy-operations

Performing any actions during the deployment process

240173.5k2](/packages/dragon-code-laravel-deploy-operations)[altek/accountant

The auditing &amp; accountability package for Laravel's Eloquent ORM.

92954.3k4](/packages/altek-accountant)[stayallive/laravel-eloquent-observable

Register Eloquent model event listeners just-in-time directly from the model.

2928.9k7](/packages/stayallive-laravel-eloquent-observable)

PHPackages © 2026

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