Simple package to add creator and editor to models, and populate them during creation or update.

0.3.0 2020-03-09 13:19 UTC

This package is auto-updated.

Last update: 2022-01-09 17:30:28 UTC


This package provides a simple trait for your Laravel models which saves the creating/updating user when a model is saved.

It also includes a replacement Schema Facade and BluePrint for use in your migrations to make the addition of created_by and updated_by columns.


To use the trait

Simply use it in your model. use Konsulting\Laravel\EditorStamps\EditorStamps;

To use the Schema and Facade

Replace Schema with this packages in config/app.php.

'Schema' => Illuminate\Support\Facades\Schema::class,


'Schema' => \Klever\Laravel\EditorStamps\Schema::class,

Then replace the Schema and Blueprint references in Migrations where you want to use them. ```php

use Klever\Laravel\EditorStamps\Schema; use Klever\Laravel\EditorStamps\Blueprint;

## Contributing ##

Contributions are welcome and will be fully credited. We will accept contributions by Pull Request.


* Use the PSR-2 Coding Standard
* Document changes in behaviour, including readme.md.