PHPackages                             tfleet/tf-activity-tracker - 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. tfleet/tf-activity-tracker

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

tfleet/tf-activity-tracker
==========================

Keeps track of user activity

0.1.2(11y ago)16341MITPHPPHP &gt;=5.3.0

Since Sep 17Pushed 11y ago2 watchersCompare

[ Source](https://github.com/tfleet/tf-activity-tracker)[ Packagist](https://packagist.org/packages/tfleet/tf-activity-tracker)[ RSS](/packages/tfleet-tf-activity-tracker/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (1)Dependencies (2)Versions (4)Used By (0)

TF Activity Tracker
===================

[](#tf-activity-tracker)

**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": {
	"tfleet/activity-tracker": "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' => 'TFleet\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-tracker

```

**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 tfleet/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(array(
	'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

26

—

LowBetter than 40% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity50

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 ~336 days

Total

2

Last Release

4015d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/5ac6eb338429e9335f0d2741dad1b67b1bc6d0efe00ddbeabadc9482afb3b72e?d=identicon)[tfleet](/maintainers/tfleet)

---

Top Contributors

[![yayann](https://avatars.githubusercontent.com/u/204421?v=4)](https://github.com/yayann "yayann (7 commits)")

### Embed Badge

![Health badge](/badges/tfleet-tf-activity-tracker/health.svg)

```
[![Health](https://phpackages.com/badges/tfleet-tf-activity-tracker/health.svg)](https://phpackages.com/packages/tfleet-tf-activity-tracker)
```

###  Alternatives

[illuminate/pagination

The Illuminate Pagination package.

12234.6M1.1k](/packages/illuminate-pagination)[illuminate/pipeline

The Illuminate Pipeline package.

9350.2M310](/packages/illuminate-pipeline)[illuminate/redis

The Illuminate Redis package.

8314.8M410](/packages/illuminate-redis)[illuminate/cookie

The Illuminate Cookie package.

224.7M145](/packages/illuminate-cookie)[forjedio/inertia-table

Backend-driven dynamic tables for Laravel + Inertia.js

272.0k](/packages/forjedio-inertia-table)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

265.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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