Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Laravel Process Stamps Laravel Package

orisintel/laravel-process-stamps

Laravel Process Stamps adds lightweight provenance to Eloquent models, automatically recording the command, job, request, or test that created or updated each record. Trace data changes, debug background workflows, and answer "where did this row come from?" with minimal setup.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Incident triage and debuggability as a product capability. When a record changes unexpectedly, the first question in any war room is "what changed it?" This package answers that for every write — HTTP request, artisan command, queued job, or scheduler — without per-model instrumentation. That directly supports decisions about where to invest in observability: process-level provenance in-app vs. heavier APM/tracing tooling.
  • Audit and compliance roadmap. If the requirement is "we must be able to say what process created or last updated this record" (not who the user was), this package covers that cheaply. It supports scoping decisions on audit-trail features — process-level provenance now, user-level/field-level auditing later if regulation demands it.
  • Async workflow lineage. Queues and schedulers mutate shared models in the background; stamps let you attribute side effects to the job or scheduled task that caused them. This informs decisions on queue architecture, backfill/repair job design, and how much visibility to build into admin tooling.
  • Support and customer-facing features. Enables UI like "last updated by nightly sync" vs. "updated by a user action," which reduces support escalations and false alarms. Useful for reconciliation views and internal admin dashboards.
  • Build vs. buy for a cross-cutting concern. Recording process context is small but pervasive. Buying a trait beats maintaining per-model event hooks and bootstrapping logic. Weigh that against the package's maturity — last release was April 2021 — so the realistic "buy" option is often "adopt and vendor/fork."
  • Schema and data-governance planning. Adopting means adding columns (or a companion table) across opted-in models. That is a migration and schema-governance decision, and it affects reporting/analytics schemas and retention policies.

When to Consider This Package

Adopt when:

  • Multiple write paths touch the same models — web requests, console commands, queued jobs, scheduled tasks — and you cannot reliably attribute changes today.
  • You need lightweight, process-level provenance and do not need user-level identity, field-level diffs, or tamper-evident logs.
  • Per-model opt-in via a trait fits your rollout: start on the handful of high-value models (orders, accounts, provisioning records) rather than the whole schema.
  • Your team is prepared to own compatibility: verify against your current Laravel/PHP version and be ready to vendor or fork given the 2021 release cadence.
  • You want minimal integration effort — a trait and configurable columns — over a heavier auditing framework.

Look elsewhere or defer when:

  • You need compliance-grade auditing: who (user), what (field-level before/after), when, from where, with retention and immutability. A dedicated auditing package or event sourcing is the right tool; this is not that.
  • The package's Laravel/PHP compatibility is unverified against your stack, or you have no appetite to maintain a fork. Check the repository's issue activity and open PRs before committing a roadmap dependency.
  • Write throughput is high and the extra stamp write is measurable — or you need an append-only, high-volume log rather than stamp columns on the row itself.
  • You need cross-service or cross-datastore tracing (correlation IDs across APIs, workers, and third parties). That is distributed tracing territory — OpenTelemetry and Laravel's context propagation — not a model-level stamp.
  • Strict multi-tenancy, data-residency, or retention rules apply that the package does not address out of the box.
  • You are mid-release and adding migrations to many tables; sequence adoption after the current cycle rather than bundling it in.

Evaluation checklist: confirm supported Laravel/PHP versions, how process context propagates into queued jobs (queue payload vs. global context), what happens for writes with no process (seeding, tests, tinker), column naming/config flexibility, and whether stamps are exposed as casts/scopes for querying and filtering.

How to Pitch It (Stakeholders)

For executives: This gives us a cheap, targeted answer to "what changed this record?" — every model write carries the process that made it (web request, job, command, scheduler). The payoff is faster incident resolution, better support tooling, and a defensible audit-readiness story without buying a heavyweight audit platform. The trade-off is maintenance: the package has not been released since 2021, so treat adoption as "take ownership of a small dependency," budget a modest engineering effort to vendor or fork it, and pilot on a few high-value models before wider rollout.

For engineering: It is a trait plus configurable columns with automatic stamping on created and updated. Verify compatibility with our Laravel/PHP versions first, then confirm how process context survives dispatch into queued jobs and scheduled tasks — that is the part most likely to be wrong or absent. Add migrations for opted-in models, decide on column names and indexing for the "filter by process" queries we care about, and cover it with tests across all entry points (request, command, job, scheduler). Treat unmaintained-dependency risk explicitly: pin a version or vendor a fork.

For product/design: The user-visible win is trustworthy admin and support views — "this was the nightly sync, not a customer edit" — which reduces escalations and makes reconciliation screens honest. It is not a user-facing feature and does not replace client-side safeguards; it is infrastructure that makes our internal answers correct. Keep scope tight at first: the models where confusing changes actually cost us support time.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
shitoudev/permissionmanager
johannesclimacus/laravel-tui
hocvt/seotools
vitalybaev/sypexgeo
amphibee/themosis-ignition
gito-me/fast-excel
frankyso/laravel-ipaymu
geolize-studio/laravel-chile
boomerangui/chat
jinas/dhivatar
store-doc/laravel-storage-driver
plus-it/laravel-translation-manager
diephp/perhaps
diephp/telegraph
osmaviation/spreadsheet
microsoft/fluentui-system-icons
mmccook/php-json-canonicalization-scheme
middlewares/firewall
qubiqx/montapacking
nyoncode/laravel-package-console