phplang/scope-exit
Tiny PHP helper that emulates “defer”/scope-exit behavior: register callbacks to run automatically when a block/function ends, ensuring reliable cleanup (close files, unlock mutexes, rollback temp state) even if exceptions occur.
Simple PHP emulation of C++'s SCOPE_EXIT, or GoLang's defer.
How can I help you explore Laravel packages today?