jkga/smartlogs

There is no license information available for the latest version (0.1.2) of this package.

create an accurate timeline of your data

0.1.2 2019-05-03 01:44 UTC

This package is not auto-updated.

Last update: 2024-06-26 23:40:22 UTC


README

Smartlogs

A standard, comprehensive, effective and efficient logging library for inspecting information that will allow auditing data much more faster and accurate

What it does

  1. Compare JSON and save the result as log
  2. Parse and create a comprehensive timeline from logs

How it works ?

Comparing

  1. Compare data in JSON format (new and old)
  2. Capture the items that have been added, changed or deleted
  3. Generate JSON in memory that contains those changes

Merging

  1. Read logs synchronously
  2. Merge 2 logs to generate a Frame which contains the data before a recent changes occur.

sample

Installation

composer install

Unit Testing

Run the code below in your terminal to run the tests

./vendor/bin/phpunit --bootstrap vendor/autoload.php tests/

Documentation

Run this command and open the docs/index.html file in your browser

php phpDocumentor.phar -d src -t docs

You must download the phpDocumentor official phar binary and copy it inside the project folder.