PHPackages                             elsayednofal/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. elsayednofal/logging

ActiveLibrary

elsayednofal/logging
====================

loging action on models

0181PHP

Since Apr 16Pushed 7y ago1 watchersCompare

[ Source](https://github.com/elsayednofal/logging)[ Packagist](https://packagist.org/packages/elsayednofal/logging)[ RSS](/packages/elsayednofal-logging/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Logging
=======

[](#logging)

log changes on each model and db row

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

[](#installation)

- `composer require elsayednofal/logging:dev-master`
- add service provider to config/app.php `ElsayedNofal\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:

```
