PHPackages                             mirbaagheri/eloquent-extra-events - 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. [Database &amp; ORM](/categories/database)
4. /
5. mirbaagheri/eloquent-extra-events

ActiveLibrary[Database &amp; ORM](/categories/database)

mirbaagheri/eloquent-extra-events
=================================

Events additional to the eloquent

1.0.3(7y ago)012[1 issues](https://github.com/mirbaagheri/eloquent-extra-events/issues)MITPHPPHP &gt;=7.0.0

Since May 5Pushed 2y ago1 watchersCompare

[ Source](https://github.com/mirbaagheri/eloquent-extra-events)[ Packagist](https://packagist.org/packages/mirbaagheri/eloquent-extra-events)[ RSS](/packages/mirbaagheri-eloquent-extra-events/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (1)DependenciesVersions (3)Used By (0)

eloquent-extra-events
=====================

[](#eloquent-extra-events)

> Note: This package is compatible with Laravel 5.5.X only.

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

[](#installation)

**Install:**

`composer require mirbaagheri/eloquent-extra-events`

Usage
-----

[](#usage)

**Load package:**

You just have to load `ExtraEventsTrait` in your `Eloquent Model`:

`use Mirbaagheri\EloquentExtraEvents\ExtraEventsTrait;`

**Events:**

- eloquent.syncing
- eloquent.synced
- eloquent.attaching
- eloquent.attached
- eloquent.detaching
- eloquent.detached

**Listeners:**

Listen to above events in: `App\Providers\EventServiceProvider`:

Global listener:

```
Event::listen('eloquent.syncing*', function ($eventName, array $eventData) {

    //Do something ...

});

```

Specific Listener:

```
Event::listen("eloquent.attaching: App\YourCustom\EloquentCustom*", function ($eventName, array $eventData) {

    //Do something ...

        });

```

LICENSE
-------

[](#license)

This package is released under MIT license.

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 85.7% 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 ~1341 days

Total

2

Last Release

1224d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/65fbf3ca667966e73b41d4bc8d2ada3fa59bb486dd14af85e77644d45a3f8765?d=identicon)[Mostafa.miri65](/maintainers/Mostafa.miri65)

---

Top Contributors

[![mirbaagheri](https://avatars.githubusercontent.com/u/11602249?v=4)](https://github.com/mirbaagheri "mirbaagheri (12 commits)")[![mostafamiri65](https://avatars.githubusercontent.com/u/86527336?v=4)](https://github.com/mostafamiri65 "mostafamiri65 (2 commits)")

---

Tags

eloquenteventlaravelphplaraveleventseloquentmirbaagheri

### Embed Badge

![Health badge](/badges/mirbaagheri-eloquent-extra-events/health.svg)

```
[![Health](https://phpackages.com/badges/mirbaagheri-eloquent-extra-events/health.svg)](https://phpackages.com/packages/mirbaagheri-eloquent-extra-events)
```

###  Alternatives

[jpkleemans/attribute-events

🔥 Fire events on attribute changes of your Eloquent model

332484.7k1](/packages/jpkleemans-attribute-events)[rtconner/laravel-likeable

Trait for Laravel Eloquent models to allow easy implementation of a 'like' or 'favorite' or 'remember' feature.

394388.0k5](/packages/rtconner-laravel-likeable)[mvanduijker/laravel-transactional-model-events

Add eloquent model events fired after a transaction is committed or rolled back

75164.5k](/packages/mvanduijker-laravel-transactional-model-events)[highsolutions/eloquent-sequence

A Laravel package for easy creation and management sequence support for Eloquent models with elastic configuration.

121130.3k](/packages/highsolutions-eloquent-sequence)[cybercog/laravel-nova-ban

A Laravel Nova banning functionality for your application.

40199.8k](/packages/cybercog-laravel-nova-ban)[phaza/single-table-inheritance

Single Table Inheritance Trait

1515.8k](/packages/phaza-single-table-inheritance)

PHPackages © 2026

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