A new PHP library, shiny/json-logic-php, is introduced as a modern replacement for the original jwadhams/json-logic-php. The original library passes only 64% (385/601) of the official JSON Logic test suite and has a structural performance issue where operator closures are rebuilt on every recursive call. The new library achieves 100% spec compliance (601/601 tests), supports PHP 8.1+, has zero runtime dependencies, and is approximately 2x faster by initializing operators once via a static architecture rather than per-call reconstruction.
1 Comment
Sort: