Laravel Process Stamps Logs the Process Used to Update Models


May 14th, 2019

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.

Filed in:

Paul Redmond

Full stack web developer. Author of Lumen Programming Guide and Docker for PHP Developers.