PHPackages                             shareef\_morad/logging - 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. [Logging &amp; Monitoring](/categories/logging)
4. /
5. shareef\_morad/logging

ActiveLibrary[Logging &amp; Monitoring](/categories/logging)

shareef\_morad/logging
======================

logging models actions

039↓100%PHP

Since Feb 13Pushed 4mo agoCompare

[ Source](https://github.com/shareef1989/laravel-logging)[ Packagist](https://packagist.org/packages/shareef_morad/logging)[ RSS](/packages/shareef-morad-logging/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (5)Used By (0)

Logging
=======

[](#logging)

log changes on each model and db row

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

[](#installation)

- `composer require shareef_morad/logging:dev-master`
- add service provider to config/app.php `Shareef_Morad\Logging\LoggingServiceProvider::class,`
- run `php artisan migrate`
- run `php artisan vendor:publish` and choose package id

Configration
------------

[](#configration)

- edit config in "config/db-logging.php" every config has its own comment show how it use

usage
-----

[](#usage)

- to log action on model just add `use HasLogging;` like example:

```
