icecave/isolator
Icecave Isolator isolates and mocks PHP global state for testing. It provides PHPUnit integration to snapshot and restore global variables, superglobals, constants, and functions, so each test runs in a clean, predictable environment free of hidden state leakage and side effects.
How can I help you explore Laravel packages today?