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
Requires (Dev)
- phpunit/phpunit: ^7.5
This package is not auto-updated.
Last update: 2024-11-14 01:39:54 UTC
README
A standard, comprehensive, effective and efficient logging library for inspecting information that will allow auditing data much more faster and accurate
What it does
- Compare JSON and save the result as log
- Parse and create a comprehensive timeline from logs
How it works ?
Comparing
- Compare data in JSON format (new and old)
- Capture the items that have been added, changed or deleted
- Generate JSON in memory that contains those changes
Merging
- Read logs synchronously
- Merge 2 logs to generate a Frame which contains the data before a recent changes occur.
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.