history icon indicating copy to clipboard operation
history copied to clipboard

Eloquent model history tracking for Laravel

Results 2 history issues
Sort by recently updated
recently updated
newest added

getModelName() function should be customizable or available in trait itself so it can be redeclared in models, because model names are not always suitable to display in messages

enhancement

Hello! It is correct to use 'getMorphClass' with an alias on the 'user_type' field of the History model, rather than directly specifying the '\App\User' class name. https://github.com/seancheung/history/blob/bf2c63790c502a9202daae31b0623891175f3ff8/src/HistoryObserver.php#L119 I suggest `return...