PHPackages                             reshadman/laravel-committed - 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. reshadman/laravel-committed

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

reshadman/laravel-committed
===========================

Adds \*\*committed\*\* event to Eloquent default event callbacks (created, creating, saved, saving...).

1.1.0(7y ago)2425MITPHPPHP ^7.1

Since Jun 6Pushed 4y ago1 watchersCompare

[ Source](https://github.com/reshadman/laravel-committed)[ Packagist](https://packagist.org/packages/reshadman/laravel-committed)[ RSS](/packages/reshadman-laravel-committed/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (3)Dependencies (5)Versions (11)Used By (0)

Deprecation Notice
==================

[](#deprecation-notice)

This project is deprecated and abondoned. Laravel now has some nice features fore defining event subscribers that are called after commit. The message queue jobs can also be pushed only if committed. So there is no need for another approach in the community but if you are interested, the concept is still simple and usable even though overridining too much behavior of eloquent can cause trouble. Just use the simple implementation provided by the core team.

Laravel Committed
=================

[](#laravel-committed)

[![Build Status](https://camo.githubusercontent.com/6fd53d8e7ac12ba46cb4a09b641cc8884c409c7492e59fb6bb2674b842841807/68747470733a2f2f7472617669732d63692e6f72672f7265736861646d616e2f6c61726176656c2d636f6d6d69747465642e7376673f6272616e63683d6d6173746572)](https://camo.githubusercontent.com/6fd53d8e7ac12ba46cb4a09b641cc8884c409c7492e59fb6bb2674b842841807/68747470733a2f2f7472617669732d63692e6f72672f7265736861646d616e2f6c61726176656c2d636f6d6d69747465642e7376673f6272616e63683d6d6173746572)

Adds **committed** event to Eloquent default event callbacks (created, creating, saved, saving...).

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

[](#installation)

```
composer require reshadman/laravel-committed
```

> This package supports Laravel 5.5.\* and 5.6.\* .

Usage
-----

[](#usage)

The service provider is registered automatically with discovery or you can Add the following service provider to your `app.php` config file:

```
