sebastian/global-state
Snapshot and restore PHP global state with sebastian/global-state, the standalone component extracted from PHPUnit. Capture globals, superglobals, static properties, and constants for reliable test isolation.
Snapshot::snapshotSuperGlobalArray()How can I help you explore Laravel packages today?