Download the PHP package kerattila/laravel-track-author without Composer
On this page you can find all versions of the php package kerattila/laravel-track-author. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download kerattila/laravel-track-author
More information about kerattila/laravel-track-author
Files in kerattila/laravel-track-author
Download kerattila/laravel-track-author
More information about kerattila/laravel-track-author
Files in kerattila/laravel-track-author
Vendor kerattila
Package laravel-track-author
Short Description Extension to add created_by, updated_by and deleted_by columns to Eloquent models.
License MIT
Package laravel-track-author
Short Description Extension to add created_by, updated_by and deleted_by columns to Eloquent models.
License MIT
Please rate this library. Is it a good library?
Informations about the package laravel-track-author
Laravel Track Author
This package allow you to track the user who created, deleted and deleted eloquent modelss.
Install and configure
You can install the package via composer:
Publish the config file by running:
After publishing configuration file, adjust the values accordingly your needs:
Model and migration configuration
Migrations:
Models
You can add the Kerattila\TrackAuthor\Traits\TrackAuthor
trait to your models or just add one of the CreatedBy, UpdatedBy, DeletedBy traits.
Example:
Relations
Relations are the type of BelongsTo
and can be accessed as follows:
All versions of laravel-track-author with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.4.0
illuminate/config Version ^10.0|^9.0|^8.0
illuminate/database Version ^10.0|^9.0|^8.0
illuminate/support Version ^10.0|^9.0|^8.0
illuminate/config Version ^10.0|^9.0|^8.0
illuminate/database Version ^10.0|^9.0|^8.0
illuminate/support Version ^10.0|^9.0|^8.0
The package kerattila/laravel-track-author contains the following files
Loading the files please wait ....