PHPackages                             karimms/model-pulse - 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. karimms/model-pulse

ActiveLibrary

karimms/model-pulse
===================

Add collaboration, messaging, and activity tracking to any Eloquent model.

v1.0.0(2d ago)00MITPHPPHP ^8.3

Since Mar 22Pushed 2d agoCompare

[ Source](https://github.com/karim-mesghouni/model-pulse)[ Packagist](https://packagist.org/packages/karimms/model-pulse)[ RSS](/packages/karimms-model-pulse/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (8)Versions (2)Used By (0)

Model Pulse
===========

[](#model-pulse)

Add collaboration, messaging, attachments, activity logs, and domain events to any Eloquent model.

Features
--------

[](#features)

- Follow/unfollow support for any model (`Followable`)
- Thread-like messaging APIs (`Messagable`)
- File attachment helpers (`Attachable`)
- Automatic model activity logging (`HasLogActivity`)
- Typed Laravel events for messaging and activity operations

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

[](#requirements)

- PHP 8.3+
- Laravel components:
    - `illuminate/container` ^12|^13
    - `illuminate/contracts` ^12|^13
    - `illuminate/database` ^12|^13

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

[](#installation)

```
composer require karimms/model-pulse
```

Run package migrations:

```
php artisan migrate --path=vendor/karimms/model-pulse/database/migrations
```

Quick Start
-----------

[](#quick-start)

Add traits to your Eloquent model:

```
