Laravel Packages

Laravel Process Stamps Logs the Process Used to Update Models

Published
Laravel Process Stamps Logs the Process Used to Update Models image

Laravel Process Stamps is a package by Tom Schlick which makes it easy to track which process created or updated a model record in your database. The Laravel Process Stamps package makes this easy by adding the following trait to your models:

// User model
class User extends Model
{
use ProcessStampable;
 
// ...
}

When you create or save a new user in the example above, a new record will exist in the configured table (default table name is process_stamps) with a hash, process name, and type when a record gets created or updated.

You can learn more about this package, get full installation instructions, and view the source code on GitHub at orisintel/laravel-process-stamps.

Paul Redmond photo

Staff writer at Laravel News. Full stack web developer and author.

Sponsored

masteringlaravel logo
Laravel Code Review

Get expert guidance in a few days with a Laravel code review

Visit Laravel Code Review

The latest

View all →
CPX: The Composer Package Executor for PHP image

CPX: The Composer Package Executor for PHP

Read article
Laravel AI SDK Adds Human-in-the-Loop Tool Approval image

Laravel AI SDK Adds Human-in-the-Loop Tool Approval

Read article
Pest 5 Released With Test Impact Analysis, Agent Verification, and Evals image

Pest 5 Released With Test Impact Analysis, Agent Verification, and Evals

Read article
Queue-SQL: Run Mass Deletes and Updates Across Parallel Queue Jobs image

Queue-SQL: Run Mass Deletes and Updates Across Parallel Queue Jobs

Read article
Blade Formatting in Laravel Pint image

Blade Formatting in Laravel Pint

Read article
Inertia DevTools Is Now on the Chrome Web Store image

Inertia DevTools Is Now on the Chrome Web Store

Read article