PHPackages                             jsnlib/del - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [File &amp; Storage](/categories/file-storage)
4. /
5. jsnlib/del

ActiveLibrary[File &amp; Storage](/categories/file-storage)

jsnlib/del
==========

1.1.1(7y ago)1281MITPHPPHP &gt;=7.0.0

Since Mar 8Pushed 7y agoCompare

[ Source](https://github.com/fdjkgh580/jsnlib-del)[ Packagist](https://packagist.org/packages/jsnlib/del)[ RSS](/packages/jsnlib-del/feed)WikiDiscussions master Synced 4d ago

READMEChangelogDependenciesVersions (6)Used By (1)

jsnlib-del
==========

[](#jsnlib-del)

聰明的刪除檔案與路徑。

初始化
---

[](#初始化)

```
require_once 'vendor/autoload.php';
$del = new Jsnlib\Del;
```

取得檔案與路徑的分佈
----------

[](#取得檔案與路徑的分佈)

若要取得路徑 D 底下的所有路徑與檔案，得到的結果分成了 dir 與 file 兩個區塊列表。

```
$del->get("D");
```

刪除包含自己
------

[](#刪除包含自己)

路徑 D 會一併刪除。

```
$del->all();
```

刪除自己之下
------

[](#刪除自己之下)

僅刪除路徑 D 之後的檔案，路徑 D 並不會刪除。

```
$del->under();
```

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~35 days

Total

5

Last Release

2850d ago

PHP version history (2 changes)1.0.0PHP &gt;=5.2.4

1.1.0PHP &gt;=7.0.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/b4161e8ee5212efdcdaa6a42183109f397f25c852655ec4b73cce9920cf94f2a?d=identicon)[fdjkgh580](/maintainers/fdjkgh580)

---

Top Contributors

[![fdjkgh580-2](https://avatars.githubusercontent.com/u/60056647?v=4)](https://github.com/fdjkgh580-2 "fdjkgh580-2 (7 commits)")

---

Tags

filedirdeletesmart

### Embed Badge

![Health badge](/badges/jsnlib-del/health.svg)

```
[![Health](https://phpackages.com/badges/jsnlib-del/health.svg)](https://phpackages.com/packages/jsnlib-del)
```

###  Alternatives

[league/flysystem

File storage abstraction for PHP

13.6k639.1M2.2k](/packages/league-flysystem)[kartik-v/bootstrap-fileinput

An enhanced HTML 5 file input for Bootstrap 5.x, 4.x, and 3.x with features for file preview for many file types, multiple selection, ajax uploads, and more.

5.4k7.9M13](/packages/kartik-v-bootstrap-fileinput)[league/flysystem-aws-s3-v3

AWS S3 filesystem adapter for Flysystem.

1.6k263.6M790](/packages/league-flysystem-aws-s3-v3)[knplabs/gaufrette

PHP library that provides a filesystem abstraction layer

2.5k39.8M123](/packages/knplabs-gaufrette)[league/flysystem-local

Local filesystem adapter for Flysystem.

226231.8M39](/packages/league-flysystem-local)[adlawson/vfs

Virtual file system

300433.0k21](/packages/adlawson-vfs)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
