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)040MITBladePHP ^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 1mo ago

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

30

—

LowBetter than 64% of packages

Maintenance48

Moderate activity, may be stable

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity47

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

410d ago

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

1.0.2PHP ^7.3|^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/5e4dad3b25d885d7ee33085d1a82851871161020923a26ac2b2276e5950c201a?d=identicon)[sudippalash](/maintainers/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

[livewire/volt

An elegantly crafted functional API for Laravel Livewire.

4195.3M84](/packages/livewire-volt)[gehrisandro/tailwind-merge-laravel

TailwindMerge for Laravel merges multiple Tailwind CSS classes by automatically resolving conflicts between them

341682.2k18](/packages/gehrisandro-tailwind-merge-laravel)[nickurt/laravel-akismet

Akismet for Laravel 11.x/12.x/13.x

97139.6k2](/packages/nickurt-laravel-akismet)[whitecube/laravel-timezones

Store UTC dates in the database and work with custom timezones in the application.

106106.2k](/packages/whitecube-laravel-timezones)[forxer/laravel-gravatar

A library providing easy gravatar integration in a Laravel project.

4235.6k](/packages/forxer-laravel-gravatar)[iteks/laravel-enum

A comprehensive Laravel package providing enhanced enum functionalities, including attribute handling, select array conversions, and fluent facade interactions for robust enum management in Laravel applications.

2516.7k](/packages/iteks-laravel-enum)

PHPackages © 2026

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