Download the PHP package beitsafe/laravel-uuid-auditing without Composer
On this page you can find all versions of the php package beitsafe/laravel-uuid-auditing. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download beitsafe/laravel-uuid-auditing
More information about beitsafe/laravel-uuid-auditing
Files in beitsafe/laravel-uuid-auditing
Package laravel-uuid-auditing
Short Description This package adds Traits for generating UUIDs and filling audit columns on Models, extends fico7489/laravel-pivot to add UUIDs to Pivot Tables
License MIT
Homepage https://github.com/beitsafe/laravel-uuid-auditing
Informations about the package laravel-uuid-auditing
Laravel UUID Auditing
This package adds Traits for generating UUIDs and filling audit columns on Models, extends fico7489/laravel-pivot to add UUIDs to Pivot Tables
Based On
This package is based on https://github.com/fico7489/laravel-pivot and using webpatser/laravel-uuid
Install
1.Install package with composer
Configure Automatically
- Use BeITSafe\Laravel\Models\BeITSafeModel trait in your base model or only in particular models. This will automatically generate UUIDs for BOTH Models and Pivot Tables.
Configure UUIDs Manually
1.Use BeITSafe\Laravel\Traits\Uuids trait in your base model or only in particular models. This will automatically generate UUIDs for BOTH Models and Pivot Tables.
Configure Auditing Manually
1.Use BeITSafe\Laravel\Traits\Auditing trait in your base model or only in particular models. This will automatically save the Auth::user()->id to 'created_by', 'updated_by', 'deleted_by' if there is a logged in User and the column exists in the Model.
New eloquent events
New events are :
License
MIT