sebastian/global-state
sebastian/global-state snapshots and restores PHP global state (globals, superglobals, ini settings, etc.), extracted from PHPUnit as a standalone component. Useful for test isolation and detecting side effects by capturing state before and after code runs.
Snapshotting of global state, factored out of PHPUnit into a stand-alone component
How can I help you explore Laravel packages today?