Skip to content

Commit ebb6186

Browse files
committed
docs: add badges for PHP version, tests, coverage, documentation, license, and GitHub sponsors in README.md
Signed-off-by: Felipe Sayão Lobato Abreu <github@mentordosnerds.com>
1 parent 3b3c5e0 commit ebb6186

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,12 @@
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+
210
A minimal utility that brings **defer-style execution** (similar to Go) to PHP using object scope and destructors.
311
It 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**.

0 commit comments

Comments
 (0)