PHPackages                             bushart/activitylog - 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. [Logging &amp; Monitoring](/categories/logging)
4. /
5. bushart/activitylog

ActiveLibrary[Logging &amp; Monitoring](/categories/logging)

bushart/activitylog
===================

A simple modified log to database

1.0(3y ago)14MITPHP

Since May 16Pushed 3y ago1 watchersCompare

[ Source](https://github.com/busharthussain/activity-log)[ Packagist](https://packagist.org/packages/bushart/activitylog)[ RSS](/packages/bushart-activitylog/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (2)Used By (0)

Laravel Log Activity
--------------------

[](#laravel-log-activity)

This package provides easy to use functions to log the activities of the users of your app. It can also automatically log model events. All activity will be stored in the activity\_log table

### Installation

[](#installation)

To install the package, simply require it using Composer:

```
composer require bushart/activitylog

```

### Publish configuration files

[](#publish-configuration--files)

```
php artisan vendor:publish --tag=migrations

```

After the package is installed, you can run the migration to create the activity\_logs table in your database:

```
php artisan migrate

```

### Usage

[](#usage)

Add it to your App/Providers/EventServiceProvider.php file:

```
use bushart\activitylog\Events\LogActivity;
use bushart\activitylog\Listeners\LogActivityListener;

protected $listen => [
    // ...
      LogActivity::class => [
                  LogActivityListener::class,
      ],
],

```

For Custom use:

Dispatch the event with the desired data:

```
event(new LogActivity(['log_name' => 'test', 'description' => 'test description']));

```

This will activity log to the activity\_logs table in your database.

### Support

[](#support)

If you encounter any issues with this package, please open an issue on the GitHub repository or contact us at .

I hope this example description helps you write your own README file! Let me know if you have any other questions.

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity44

Maturing project, gaining track record

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

Unknown

Total

1

Last Release

1098d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7c8f197be03f87ca7ebfb567da963b7310d8cf259148758fac79345b24a567f1?d=identicon)[busharthussain](/maintainers/busharthussain)

### Embed Badge

![Health badge](/badges/bushart-activitylog/health.svg)

```
[![Health](https://phpackages.com/badges/bushart-activitylog/health.svg)](https://phpackages.com/packages/bushart-activitylog)
```

###  Alternatives

[psr/log

Common interface for logging libraries

10.4k1.2B9.2k](/packages/psr-log)[itsgoingd/clockwork

php dev tools in your browser

5.9k27.6M94](/packages/itsgoingd-clockwork)[graylog2/gelf-php

A php implementation to send log-messages to a GELF compatible backend like Graylog2.

41838.2M138](/packages/graylog2-gelf-php)[bugsnag/bugsnag-psr-logger

Official Bugsnag PHP PSR Logger.

32132.5M2](/packages/bugsnag-bugsnag-psr-logger)[consolidation/log

Improved Psr-3 / Psr\\Log logger based on Symfony Console components.

15462.2M7](/packages/consolidation-log)[datadog/php-datadogstatsd

An extremely simple PHP datadogstatsd client

19124.6M15](/packages/datadog-php-datadogstatsd)

PHPackages © 2026

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