PHPackages                             rockbuzz/lara-activities - 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. rockbuzz/lara-activities

ActiveLibrary

rockbuzz/lara-activities
========================

Lara Activities is a package that monitors activities for creating, editing, and deleting features, including manipulations of related tables.

3.1.2(9mo ago)25.1k[1 PRs](https://github.com/rockbuzz/lara-activities/pulls)MITPHPPHP &gt;=7.3

Since Mar 9Pushed 9mo agoCompare

[ Source](https://github.com/rockbuzz/lara-activities)[ Packagist](https://packagist.org/packages/rockbuzz/lara-activities)[ RSS](/packages/rockbuzz-lara-activities/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (5)Versions (30)Used By (0)

Lara Activities
===============

[](#lara-activities)

Lara Activities is a Laravel package that monitors activities for creating, editing, and deleting features, including manipulations of related tables.

[![](https://github.com/rockbuzz/lara-activities/workflows/Main/badge.svg)](https://github.com/rockbuzz/lara-activities/workflows/Main/badge.svg)

Requirements
------------

[](#requirements)

PHP: &gt;=7.3

Install
-------

[](#install)

```
$ composer require rockbuzz/lara-activities
```

```
$ php artisan vendor:publish --provider="Rockbuzz\LaraActivities\ServiceProvider" --tag=migrations
```

```
$ php artisan migrate
```

Usage
-----

[](#usage)

```
namespace App;

use Illuminate\Database\Eloquent\Model;
use Rockbuzz\LaraActivities\Traits\RecordsActivity;

class Post extends Model
{
    use RecordsActivity;

    //optional define activity table
    //public function __construct(array $attributes = [])
    //{
    //    parent::__construct($attributes);
    //
    //    $this->activityTable = 'post_activities';
    //}
}
```

Configuration
-------------

[](#configuration)

```
$ php artisan vendor:publish --provider="Rockbuzz\LaraActivities\ServiceProvider" --tag=config
```

You can define the layout of the views

```
'views' => [
    'layout' => 'layouts.admin'
]
```

You can override routes, controllers and middleware

```
'routes' => [
    'index' => [
        'uri' => 'admin/activities',
        'as' => 'admin.activities',
        'middleware' => ['web', 'auth'],
        'uses' => 'Rockbuzz\LaraActivities\Controllers\ActivitiesController@index'
    ]
]
```

You can define which models will be searched in the activity table

```
'subjects_class' => [
    'App\Post', 'App\Comment'
],
```

You can also customize the views

```
$ php artisan vendor:publish --provider="Rockbuzz\LaraActivities\ServiceProvider" --tag=views
```

You can also customize the lang

```
$ php artisan vendor:publish --provider="Rockbuzz\LaraActivities\ServiceProvider" --tag=lang
```

License
-------

[](#license)

The Lara Activities is open-sourced software licensed under the [MIT license](https://opensource.org/licenses/MIT).

###  Health Score

42

—

FairBetter than 89% of packages

Maintenance60

Regular maintenance activity

Popularity20

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 71.6% 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 ~90 days

Recently: every ~360 days

Total

27

Last Release

282d ago

Major Versions

1.2.3 → 2.0.02021-03-31

2.0.0 → 3.0.02021-08-19

PHP version history (3 changes)1.0.0PHP &gt;=7.1

1.1.4PHP &gt;=7.2.5

3.0.0PHP &gt;=7.3

### Community

Maintainers

![](https://www.gravatar.com/avatar/9a5c02aa268a45e5f1d9c67c331503d326eb4b49eb0fb80293dc7379ccef51f7?d=identicon)[rockbuzz](/maintainers/rockbuzz)

---

Top Contributors

[![tiagodevweb](https://avatars.githubusercontent.com/u/15040375?v=4)](https://github.com/tiagodevweb "tiagodevweb (48 commits)")[![paulohps](https://avatars.githubusercontent.com/u/36200923?v=4)](https://github.com/paulohps "paulohps (9 commits)")[![rockbuzz-dev](https://avatars.githubusercontent.com/u/48301419?v=4)](https://github.com/rockbuzz-dev "rockbuzz-dev (8 commits)")[![paulohpsrock](https://avatars.githubusercontent.com/u/59696754?v=4)](https://github.com/paulohpsrock "paulohpsrock (2 commits)")

---

Tags

laravellogsactivities

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/rockbuzz-lara-activities/health.svg)

```
[![Health](https://phpackages.com/badges/rockbuzz-lara-activities/health.svg)](https://phpackages.com/packages/rockbuzz-lara-activities)
```

###  Alternatives

[anourvalar/eloquent-serialize

Laravel Query Builder (Eloquent) serialization

11320.2M21](/packages/anourvalar-eloquent-serialize)

PHPackages © 2026

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