PHPackages                             sudippalash/activity-log - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. sudippalash/activity-log

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

sudippalash/activity-log
========================

Laravel package for Activity log preview

1.0.4(1y ago)042MITBladePHP ^7.3|^8.0

Since Nov 2Pushed 1y ago1 watchersCompare

[ Source](https://github.com/sudippalash/activity-log)[ Packagist](https://packagist.org/packages/sudippalash/activity-log)[ RSS](/packages/sudippalash-activity-log/feed)WikiDiscussions main Synced yesterday

READMEChangelog (5)Dependencies (2)Versions (6)Used By (0)

Activity Log
------------

[](#activity-log)

[![alt text](https://github.com/sudippalash/activity-log/raw/main/img.jpg?raw=true)](https://github.com/sudippalash/activity-log/blob/main/img.jpg?raw=true)

[![Latest Version on Packagist](https://camo.githubusercontent.com/d3ba7ac24d94ac703bc40e81daf62ac4f3e842bec3d1168f2623b429221a5e87/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f737564697070616c6173682f61637469766974792d6c6f673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/sudippalash/activity-log)[![Total Downloads](https://camo.githubusercontent.com/2e4adc979dcd91fc5687e953ab86ab32f7e4109ba29baf2e1aa55053a6e435a1/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f737564697070616c6173682f61637469766974792d6c6f673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/sudippalash/activity-log)

`activity-log` is an activity log management package for `Laravel` that allows you to create and preview activity logs.

Note: This package is wrapper of `spatie/laravel-activitylog` package.

Install
-------

[](#install)

Via Composer

```
composer require sudippalash/activity-log
```

### Publish config &amp; migrations files

[](#publish-config--migrations-files)

You should publish

migrations files:

1. `database/migrations/create_activity_log_table.php`
2. `database/migrations/add_event_column_to_activity_log_table.php`
3. `database/migrations/add_batch_uuid_column_to_activity_log_table.php`

config files:

1. `config/activitylog.php`
2. `config/activity-log.php`

with:

```
php artisan vendor:publish --provider="Sudip\ActivityLog\Providers\AppServiceProvider" --tag=required
```

For `config/activitylog.php` file you should check `spatie/laravel-activitylog` package documentation.

This is the contents of the published config file `config/activity-log.php`:

```
return [
    /*
    |--------------------------------------------------------------------------
    | Extends Layout Name
    |--------------------------------------------------------------------------
    |
    | Your main layout file path name. Example: layouts.app
    |
    */

    'layout_name' => 'layouts.app',

    /*
    |--------------------------------------------------------------------------
    | Section Name
    |--------------------------------------------------------------------------
    |
    | Your section name which in yield in main layout file. Example: content
    |
    */

    'section_name' => 'content',

    /*
    |--------------------------------------------------------------------------
    | Route Name, Prefix & Middleware
    |--------------------------------------------------------------------------
    |
    | Provide a route name for activity-log route. Example: user.activity-logs
    | Provide a prefix name for activity-log url. Example: user/activity-logs
    | If activity-log route use any middleware then provide it or leave empty array. Example: ['auth']
    */

    'route_name' => 'user.activity-logs',
    'route_prefix' => 'user/activity-logs',
    'middleware' => [],

    /*
    |--------------------------------------------------------------------------
    | Bootstrap version
    |--------------------------------------------------------------------------
    |
    | Which bootstrap you use in your application. Example: 3 or 4 or 5
    |
    */

    'bootstrap_v' => 5,

    /*
    |--------------------------------------------------------------------------
    | CSS
    |--------------------------------------------------------------------------
    |
    | Add your css class in this property if you want to change design.
    */

    'css' => [
        'container' => null,
        'card' => null,
        'input' => null,
        'btn' => null,
        'table' => null,
        'table_action_col_width' => null,
        'table_action_btn' => null,
    ],
];
```

Optionally, you can publish the views using

```
php artisan vendor:publish --provider="Sudip\ActivityLog\Providers\AppServiceProvider" --tag=views
```

Optionally, you can publish the lang using

```
php artisan vendor:publish --provider="Sudip\ActivityLog\Providers\AppServiceProvider" --tag=lang
```

You should run the migrations with:

```
php artisan migrate
```

Usage
-----

[](#usage)

You should copy the below line and paste in your project menu section

```
{{ trans('activity-log::sp_activity_log.activity_logs') }}
```

Use this `ActivityLog`` trait in your model(s). It will automatically store all DB-related events to the model(s).

```
...

use Sudip\ActivityLog\Traits\ActivityLog;

class MyModel extends Model
{
    use ActivityLog;

    ...
}
```

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance42

Moderate activity, may be stable

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~35 days

Total

5

Last Release

466d ago

PHP version history (2 changes)1.0.0PHP ^7.3|^8.3

1.0.2PHP ^7.3|^8.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/16589727?v=4)[Sudip Palash](/maintainers/sudippalash)[@sudippalash](https://github.com/sudippalash)

---

Top Contributors

[![sudippalash](https://avatars.githubusercontent.com/u/16589727?v=4)](https://github.com/sudippalash "sudippalash (10 commits)")

---

Tags

laravelactivity-logLaravel activity logSudip

### Embed Badge

![Health badge](/badges/sudippalash-activity-log/health.svg)

```
[![Health](https://phpackages.com/badges/sudippalash-activity-log/health.svg)](https://phpackages.com/packages/sudippalash-activity-log)
```

###  Alternatives

[nasirkhan/laravel-starter

A CMS like modular Laravel starter project.

1.4k2.7k](/packages/nasirkhan-laravel-starter)[firefly-iii/data-importer

Firefly III Data Import Tool.

8035.8k](/packages/firefly-iii-data-importer)[markwalet/nova-modal-response

A Laravel Nova asset for Modal responses on an action.

17878.9k](/packages/markwalet-nova-modal-response)[ronasit/laravel-helpers

Provided helpers function and some helper class.

2085.6k31](/packages/ronasit-laravel-helpers)[team-nifty-gmbh/tall-datatables

Server-side rendered datatables for Laravel and Livewire

1320.9k4](/packages/team-nifty-gmbh-tall-datatables)[tomshaw/electricgrid

A feature-rich Livewire package designed for projects that require dynamic, interactive data tables.

119.4k](/packages/tomshaw-electricgrid)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
