PHPackages                             jkga/smartlogs - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. jkga/smartlogs

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

jkga/smartlogs
==============

create an accurate timeline of your data

0.1.2(7y ago)0101PHP

Since May 3Pushed 7y ago1 watchersCompare

[ Source](https://github.com/SEARCAPhil/smartlogs)[ Packagist](https://packagist.org/packages/jkga/smartlogs)[ RSS](/packages/jkga-smartlogs/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependencies (1)Versions (4)Used By (0)

Smartlogs
=========

[](#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
------------

[](#what-it-does)

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

How it works ?
--------------

[](#how-it-works-)

### Comparing

[](#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

[](#merging)

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

[![sample](https://camo.githubusercontent.com/827987d1dcb78fd83d2ba977796e80bfaa2efb445163d60ee853d574705bed04/68747470733a2f2f736f7574686561737461736961312d6d65646961702e7376632e6d732f7472616e73666f726d2f7468756d626e61696c3f70726f76696465723d73706f26696e707574466f726d61743d706e672663733d66464e51547726646f6369643d68747470732533412532462532467365617263612d6d792e7368617265706f696e742e636f6d2533413434332532465f61706925324676322e3025324664726976657325324662215653354a78744646346b2d4955673962666c33765f4f78723374685442536c456972717147325946693770376f796f5549474631545a785661465130384743342532466974656d732532463031504347554c55464b5844544e504554364c52424b344b42354d444f464a35464125334676657273696f6e2533445075626c6973686564266163636573735f746f6b656e3d65794a30655841694f694a4b563151694c434a68624763694f694a756232356c496e302e65794a68645751694f6949774d4441774d4441774d7930774d4441774c54426d5a6a4574593255774d4330774d4441774d4441774d4441774d44417663325668636d4e684c5731354c6e4e6f59584a6c63473970626e51755932397451444d774e3245314e4759304c54686a5a4755744e4459344d5330354d32466d4c574a6c4e6d4e6c596d597a4d474d794e694973496d6c7a63794936496a41774d4441774d44417a4c5441774d4441744d475a6d4d53316a5a5441774c5441774d4441774d4441774d4441774d434973496d35695a694936496a45314e5459794e5467794d5459694c434a6c654841694f6949784e5455324d6a63354f444532496977695a57356b63473970626e5231636d77694f694a51546b706c563355325347343164575a335a6a646c633038315430316a5954684c5a6a64344e446b7964314a4c5a5574684f557043616b355a50534973496d56755a4842766157353064584a73544756755a33526f496a6f694d5445324969776961584e7362323977596d466a61794936496c5279645755694c434a6a615751694f694a4f52305a6f546d31524d6b39585658524f616b4a74576b4d774e4531455158644d56466b305456525664466c7162476c5052465a73575870564d6c6c58525445694c434a325a5849694f694a6f59584e6f5a575277636d39765a6e5276613256754969776963326c305a576c6b496a6f695758705a4d453955536d784f56465630546b5257613031544d444261625656355446526e4e4535555358524e52316b785757706b62453558556d78616256707149697769626d46745a576c6b496a6f694d434d755a6e78745a5731695a584a7a61476c77664770725a32464163325668636d4e684c6d39795a794973496d357061534936496d317059334a766332396d6443357a614746795a584276615735304969776961584e3163325679496a6f6964484a315a534973496d4e685932686c61325635496a6f694d4767755a6e78745a5731695a584a7a61476c77664445774d444d7a5a6d5a6d4f4751794d7a55784e544e4162476c325a53356a623230694c434a3064434936496a41694c434a31633256515a584a7a61584e305a5735305132397661326c6c496a6f694d694a392e647a55306156705a625841724d4578594d6b394854444a594d6e6c7a616d527564306f3564323561644568724f54644465564634566e524b55543026656e636f64654661696c757265733d312677696474683d393035266865696768743d3539322673726357696474683d393035267372634865696768743d353932)](https://camo.githubusercontent.com/827987d1dcb78fd83d2ba977796e80bfaa2efb445163d60ee853d574705bed04/68747470733a2f2f736f7574686561737461736961312d6d65646961702e7376632e6d732f7472616e73666f726d2f7468756d626e61696c3f70726f76696465723d73706f26696e707574466f726d61743d706e672663733d66464e51547726646f6369643d68747470732533412532462532467365617263612d6d792e7368617265706f696e742e636f6d2533413434332532465f61706925324676322e3025324664726976657325324662215653354a78744646346b2d4955673962666c33765f4f78723374685442536c456972717147325946693770376f796f5549474631545a785661465130384743342532466974656d732532463031504347554c55464b5844544e504554364c52424b344b42354d444f464a35464125334676657273696f6e2533445075626c6973686564266163636573735f746f6b656e3d65794a30655841694f694a4b563151694c434a68624763694f694a756232356c496e302e65794a68645751694f6949774d4441774d4441774d7930774d4441774c54426d5a6a4574593255774d4330774d4441774d4441774d4441774d44417663325668636d4e684c5731354c6e4e6f59584a6c63473970626e51755932397451444d774e3245314e4759304c54686a5a4755744e4459344d5330354d32466d4c574a6c4e6d4e6c596d597a4d474d794e694973496d6c7a63794936496a41774d4441774d44417a4c5441774d4441744d475a6d4d53316a5a5441774c5441774d4441774d4441774d4441774d434973496d35695a694936496a45314e5459794e5467794d5459694c434a6c654841694f6949784e5455324d6a63354f444532496977695a57356b63473970626e5231636d77694f694a51546b706c563355325347343164575a335a6a646c633038315430316a5954684c5a6a64344e446b7964314a4c5a5574684f557043616b355a50534973496d56755a4842766157353064584a73544756755a33526f496a6f694d5445324969776961584e7362323977596d466a61794936496c5279645755694c434a6a615751694f694a4f52305a6f546d31524d6b39585658524f616b4a74576b4d774e4531455158644d56466b305456525664466c7162476c5052465a73575870564d6c6c58525445694c434a325a5849694f694a6f59584e6f5a575277636d39765a6e5276613256754969776963326c305a576c6b496a6f695758705a4d453955536d784f56465630546b5257613031544d444261625656355446526e4e4535555358524e52316b785757706b62453558556d78616256707149697769626d46745a576c6b496a6f694d434d755a6e78745a5731695a584a7a61476c77664770725a32464163325668636d4e684c6d39795a794973496d357061534936496d317059334a766332396d6443357a614746795a584276615735304969776961584e3163325679496a6f6964484a315a534973496d4e685932686c61325635496a6f694d4767755a6e78745a5731695a584a7a61476c77664445774d444d7a5a6d5a6d4f4751794d7a55784e544e4162476c325a53356a623230694c434a3064434936496a41694c434a31633256515a584a7a61584e305a5735305132397661326c6c496a6f694d694a392e647a55306156705a625841724d4578594d6b394854444a594d6e6c7a616d527564306f3564323561644568724f54644465564634566e524b55543026656e636f64654661696c757265733d312677696474683d393035266865696768743d3539322673726357696474683d393035267372634865696768743d353932)

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

[](#installation)

> composer install

Unit Testing
------------

[](#unit-testing)

Run the code below in your terminal to run the tests

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

Documentation
-------------

[](#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](http://phpdoc.org/phpDocumentor.phar) and copy it inside the project folder.

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

3

Last Release

2568d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/9951ef88de49c66dd47d2abedf0aa99b5999a1d7400ac0da4e9f986f8c56fcb4?d=identicon)[jkga](/maintainers/jkga)

---

Top Contributors

[![jkga](https://avatars.githubusercontent.com/u/10413754?v=4)](https://github.com/jkga "jkga (12 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/jkga-smartlogs/health.svg)

```
[![Health](https://phpackages.com/badges/jkga-smartlogs/health.svg)](https://phpackages.com/packages/jkga-smartlogs)
```

###  Alternatives

[bigperson/laravel-exchange1c

Catalog Loader from 1c - CommerceML with laravel

333.3k](/packages/bigperson-laravel-exchange1c)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
