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

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

nexon/activity-log
==================

A clean and simple Laravel 4 activity logger for monitoring user activity on a website or web application.

v0.3.0(11y ago)116MITPHP &gt;=5.3.0

Since Jul 26Pushed 11y ago1 watchersCompare

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

READMEChangelogDependencies (1)Versions (4)Used By (0)

ActivityLog
===========

[](#activitylog)

**A clean and simple Laravel 4 activity logger for monitoring user activity on a website or web application.**

- [Installation](#installation)
- [Basic Usage](#basic-usage)

Installation
------------

[](#installation)

**Basic installation, service provider registration, and aliasing:**

To install ActivityLog, make sure "regulus/activity-log" has been added to Laravel 4's `composer.json` file.

```
"require": {
	"regulus/activity-log": "0.3.0"
},

```

Then run `php composer.phar update` from the command line. Composer will install the ActivityLog package. Now, all you have to do is register the service provider, set up ActivityLog's alias in `app/config/app.php`, Add this to the `providers` array:

```
'Regulus\ActivityLog\ActivityLogServiceProvider',

```

And add this to the `aliases` array:

```
'Activity' => 'Regulus\ActivityLog\Activity',

```

**Run the migrations and seed the database:**

To run the database migrations (a single DB table), run the following from the command line:

```
php artisan migrate --package=regulus/activity-log

```

**Publishing config file:**

If you wish to customize the configuration of ActivityLog, you will need to publish the config file. Run this from the command line:

```
php artisan config:publish regulus/activity-log

```

You will now be able to edit the config file in `app/config/packages/regulus/activity-log`.

Basic Usage
-----------

[](#basic-usage)

**Logging user activity:**

```
Activity::log([
	'contentId'   => $user->id,
	'contentType' => 'User',
	'action'      => 'Create',
	'description' => 'Created a User',
	'details'     => 'Username: '.$user->username,
	'updated'     => $id ? true : false,
]);

```

The above code will log an activity for the currently logged in user. The IP address will automatically be saved as well and the "developer" flag will be set if the user has a "developer" session variable set to true. This can be used to differentiate activities between the developer and the website administrator.

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 87% 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

Unknown

Total

1

Last Release

4314d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/19f4088a81ad7762f336f8fbb57221182f7d1d0b50ea9da898355ed8de9c2f32?d=identicon)[nexon](/maintainers/nexon)

---

Top Contributors

[![Regulus343](https://avatars.githubusercontent.com/u/967717?v=4)](https://github.com/Regulus343 "Regulus343 (20 commits)")[![dimamarkus](https://avatars.githubusercontent.com/u/2600729?v=4)](https://github.com/dimamarkus "dimamarkus (2 commits)")[![thujohn](https://avatars.githubusercontent.com/u/580699?v=4)](https://github.com/thujohn "thujohn (1 commits)")

### Embed Badge

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

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

###  Alternatives

[spatie/laravel-health

Monitor the health of a Laravel application

85810.0M83](/packages/spatie-laravel-health)[beyondcode/laravel-server-timing

Add Server-Timing header information from within your Laravel apps.

5712.0M1](/packages/beyondcode-laravel-server-timing)[rollbar/rollbar-laravel

Rollbar error monitoring integration for Laravel projects

14110.4M7](/packages/rollbar-rollbar-laravel)[yadahan/laravel-authentication-log

Laravel Authentication Log provides authentication logger and notification for Laravel.

416632.8k5](/packages/yadahan-laravel-authentication-log)[kitloong/laravel-app-logger

Laravel log for your application

101.2M8](/packages/kitloong-laravel-app-logger)[label84/laravel-auth-log

Log user authentication actions in Laravel.

3654.0k](/packages/label84-laravel-auth-log)

PHPackages © 2026

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