New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

laravel-enso/track-who

Created-by, updated-by, and deleted-by tracking traits for Laravel Enso
45,856 29
Install
composer require laravel-enso/track-who
Latest Version:3.0.1
PHP:^8.0
Laravel:7 – 13
Older releases:5 · 6
License:MIT
Last Updated:Apr 21, 2026
Links: GitHub  ·  Packagist
Maintainer: aocneanu

Track Who

License Stable Downloads PHP Issues Merge Requests

Description

Track Who adds simple auditing traits for Enso models.

It fills the conventional created_by, updated_by, and deleted_by columns from the authenticated user and is designed to be composed into models without pulling in a full audit trail package.

Installation

Install the package:

composer require laravel-enso/track-who

Use it only on models whose tables already contain the matching audit columns.

Features

  • CreatedBy trait for created_by
  • UpdatedBy trait for updated_by
  • DeletedBy trait for deleted_by
  • Minimal surface area with no extra configuration

Usage

use Illuminate\Database\Eloquent\Model;
use LaravelEnso\TrackWho\Traits\CreatedBy;
use LaravelEnso\TrackWho\Traits\UpdatedBy;

class Voucher extends Model
{
    use CreatedBy;
    use UpdatedBy;
}

Add DeletedBy when soft-delete style author tracking is also needed.

API

This package exposes its backend integration through the routes, controllers, services, jobs, and configuration points referenced in the usage examples above.

Consumers should rely on the published config keys, documented route groups, and explicit service classes shown in the examples. Internal helper classes, listeners, casts, and background jobs are implementation details unless the README calls them out as extension points.

Depends On

This package does not depend on other Enso backend packages.

Contributions

are welcome. Pull requests are great, but issues are good too.

Thank you to all the people who already contributed to Enso!

Related Packages

laravel-enso/helpers

Helper classes dependency for Laravel Enso

106,576 8
laravel-enso/localisation

Language and translation management for Laravel Enso

64,924 13
laravel-enso/enums

Enums for Laravel Enso

57,811 0
laravel-enso/dynamic-methods

Dynamic methods, relations or accessors for models

43,704 2
laravel-enso/api

External service integrations and API logging for Laravel Enso

24,390 0

Version History

Version Released PHP Laravel License
3.0.1 ^8.0 ^7.0|^8.0|^9.0|^10.0|^11.0|^12.0|^13.0 MIT
3.0.0 ^8.0 ^7.0|^8.0|^9.0|^10.0|^11.0|^12.0|^13.0 MIT
2.4.0 ^8.0 ^7.0|^8.0|^9.0|^10.0|^11.0|^12.0 MIT
2.3.0 ^8.0 ^7.0|^8.0|^9.0|^10.0|^11.0 MIT
2.2.0 ^8.0 ^7.0|^8.0|^9.0|^10.0 MIT