rahmasa/fill-record

There is no license information available for the latest version (v1.0.0) of this package.

Auto fill traced columns in Eloquent [created_by_user,created_by_ip,updated_by_user,updated_by_ip]

Installs: 9

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/rahmasa/fill-record

v1.0.0 2021-05-10 10:36 UTC

This package is auto-updated.

Last update: 2025-12-11 06:29:41 UTC


README

This package provides a trait that will fill traced columns when saving any or updating Eloquent model.

Installation

composer require rahmasa/fill-record

usage

use trait in every model has this columns ['created_by_user','updated_by_user','created_by_ip','updated_by_ip]

use Rahmasa\FillRecord\FillRecord;

class Branch extends Model
{
    use FillRecord;