library laravel-editor-stamps
Simple package to add creator and editor to models, and populate them during creation or update.
konsulting/laravel-editor-stamps
Simple package to add creator and editor to models, and populate them during creation or update.
- Sunday, November 20, 2016
- by konsulting
- Repository
- 1 Watchers
- 1 Stars
- 87 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 0 Forks
- 0 Open issues
- 2 Versions
- 13 % Grown
Editor Stamps
This package provides a simple trait for your Laravel models which saves the creating/updating user when a model is saved., (*1)
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., (*2)
Compatibility
Laravel 9, (*3)
Usage
To use the trait
Simply use it in your model. use Konsulting\Laravel\EditorStamps\EditorStamps;, (*4)
To use the Schema and Facade
Use the Schema and Blueprint in your migrations instead of Laravel Default., (*5)
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., (*6)
Please:, (*7)
- Use the PSR-2 Coding Standard
- Document changes in behaviour, including readme.md.
dev-master
9999999-dev
Simple package to add creator and editor to models, and populate them during creation or update.
Sources
Download
MIT
The Requires
The Development Requires
0.1.0
0.1.0.0
Simple package to add creator and editor to models, and populate them during creation or update.
Sources
Download
MIT
The Requires
The Development Requires