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(10y ago)16341MITPHPPHP &gt;=5.3.0

Since Sep 17Pushed 10y 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 1mo 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 43% 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

3917d 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

[barryvdh/laravel-ide-helper

Laravel IDE Helper, generates correct PHPDocs for all Facade classes, to improve auto-completion.

14.9k123.0M687](/packages/barryvdh-laravel-ide-helper)[orchestra/canvas

Code Generators for Laravel Applications and Packages

21017.2M157](/packages/orchestra-canvas)[illuminate/pipeline

The Illuminate Pipeline package.

9446.6M212](/packages/illuminate-pipeline)[illuminate/pagination

The Illuminate Pagination package.

10532.5M862](/packages/illuminate-pagination)[spatie/laravel-pjax

A pjax middleware for Laravel 5

513371.8k11](/packages/spatie-laravel-pjax)[spatie/laravel-mix-preload

Add preload and prefetch links based your Mix manifest

169176.0k2](/packages/spatie-laravel-mix-preload)

PHPackages © 2026

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