Skip to content

Commit c979b94

Browse files
committed
docs: Update README
1 parent 1a98eab commit c979b94

1 file changed

Lines changed: 6 additions & 13 deletions

File tree

README.md

Lines changed: 6 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
</div>
66

7-
<p align="center">TODO</p>
7+
<p align="center">Destruction as a Service</p>
88

99
<div align="center">
1010

@@ -14,25 +14,18 @@
1414

1515
<br />
1616

17-
todo
17+
The package provides explicit resource management for PHP applications through the `Destroyable` interface.
18+
It solves memory leaks in long-running applications by enabling deterministic cleanup of resources and breaking circular reference chains that prevent garbage collection.
19+
20+
Perfect for daemon processes, event-driven applications, and any scenario where `__destruct()` alone isn't sufficient for proper resource management.
1821

1922
## Installation
2023

2124
```bash
22-
composer require internal/destroy -W
25+
composer require internal/destroy
2326
```
2427

2528
[![PHP](https://img.shields.io/packagist/php-v/internal/destroy.svg?style=flat-square&logo=php)](https://packagist.org/packages/internal/destroy)
2629
[![Latest Version on Packagist](https://img.shields.io/packagist/v/internal/destroy.svg?style=flat-square&logo=packagist)](https://packagist.org/packages/internal/destroy)
2730
[![License](https://img.shields.io/packagist/l/internal/destroy.svg?style=flat-square)](LICENSE.md)
2831
[![Total Destroys](https://img.shields.io/packagist/dt/internal/destroy.svg?style=flat-square)](https://packagist.org/packages/internal/destroy/stats)
29-
30-
## Quick Start
31-
32-
1. **Install Destroy via Composer**:
33-
34-
```bash
35-
composer require internal/destroy
36-
```
37-
38-
2. todo

0 commit comments

Comments
 (0)