imemento/activity-log

Activity Log for Laravel

8.1.1 2021-08-02 05:38 UTC

README

Build Status Latest Stable Version License Total Downloads

Custom activity logger.

Install

composer require imemento/activity-log

Use

Anywhere in the app:

activity()
    ->setResource($post) //optional
    ->log("$post->name was updated.");

Or use the ActivityLogged trait on a Model:

class Post extends Model
{
    use ActivityLogged;
}