Package Data | |
---|---|
Maintainer Username: | konsulting |
Maintainer Contact: | keoghan@klever.co.uk (Keoghan Litchfield) |
Package Create Date: | 2017-03-16 |
Package Last Update: | 2023-06-19 |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2024-11-23 03:00:23 |
Package Statistics | |
---|---|
Total Downloads: | 442 |
Monthly Downloads: | 4 |
Daily Downloads: | 0 |
Total Stars: | 1 |
Total Watchers: | 2 |
Total Forks: | 0 |
Total Open Issues: | 0 |
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.
Simply use
it in your model. use Konsulting\Laravel\EditorStamps\EditorStamps;
Replace Schema with this packages in config/app.php
.
'Schema' => Illuminate\Support\Facades\Schema::class,
to
'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.
Please:
* Use the PSR-2 Coding Standard
* Document changes in behaviour, including readme.md.