File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# FastForward Defer
2+
3+ [ ![ PHP Version] ( https://img.shields.io/badge/php-^8.3-777BB4?logo=php&logoColor=white )] ( https://www.php.net/releases/ )
4+ [ ![ Tests] ( https://img.shields.io/github/actions/workflow/status/php-fast-forward/defer/tests.yml?logo=githubactions&logoColor=white&label=tests&color=22C55E )] ( https://github.com/php-fast-forward/defer/actions/workflows/tests.yml )
5+ [ ![ Coverage] ( https://img.shields.io/badge/coverage-phpunit-4ADE80?logo=php&logoColor=white )] ( https://php-fast-forward.github.io/defer/coverage/index.html )
6+ [ ![ Docs] ( https://img.shields.io/github/deployments/php-fast-forward/defer/github-pages?logo=readthedocs&logoColor=white&label=docs&labelColor=1E293B&color=38BDF8&style=flat )] ( https://php-fast-forward.github.io/defer/index.html )
7+ [ ![ License] ( https://img.shields.io/github/license/php-fast-forward/dev-tools?color=64748B )] ( LICENSE )
8+ [ ![ GitHub Sponsors] ( https://img.shields.io/github/sponsors/php-fast-forward?logo=githubsponsors&logoColor=white&color=EC4899 )] ( https://github.com/sponsors/php-fast-forward )
9+
210A minimal utility that brings ** defer-style execution** (similar to Go) to PHP using object scope and destructors.
311It allows you to register callbacks that will run ** automatically at the end of a scope** , in ** LIFO order (Last-In, First-Out)** .
412---
@@ -276,4 +284,4 @@ Defer provides a strict and predictable cleanup model:
276284- safe failure handling
277285- pluggable reporting
278286- PSR-friendly integrations
279- It is intentionally ** small, deterministic, and constrained** .
287+ It is intentionally ** small, deterministic, and constrained** .
You can’t perform that action at this time.
0 commit comments