jkga / smartlogs
create an accurate timeline of your data
Installs: 101
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/jkga/smartlogs
Requires (Dev)
- phpunit/phpunit: ^7.5
This package is not auto-updated.
Last update: 2025-10-16 06:14:27 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.