Laravel Process Stamps Logs the Process Used to Update Models
Published on by Paul Redmond
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 modelclass 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.