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 →
What's New in PHP 8.6 image

What's New in PHP 8.6

Read article
Building EasyReply: How We Used Laravel to Unify Customer Support image

Building EasyReply: How We Used Laravel to Unify Customer Support

Read article
PostgreSQL Monitoring and Schema Linting for Laravel with Vacuum image

PostgreSQL Monitoring and Schema Linting for Laravel with Vacuum

Read article
PayZephyr: One Payment API for Stripe, Paystack, and PayPal image

PayZephyr: One Payment API for Stripe, Paystack, and PayPal

Read article
Bifrost Turns One With AI Builds and New Workflows image

Bifrost Turns One With AI Builds and New Workflows

Read article
Preview Blade Templates in macOS Finder with Quick Blade image

Preview Blade Templates in macOS Finder with Quick Blade

Read article