PHPackages                             7csn/utils-finder - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. 7csn/utils-finder

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

7csn/utils-finder
=================

文件扫描器

v1.0.0(5y ago)032MITPHPPHP ^8.0

Since Jan 14Pushed 5y ago1 watchersCompare

[ Source](https://github.com/7csn/chaser-utils-finder)[ Packagist](https://packagist.org/packages/7csn/utils-finder)[ RSS](/packages/7csn-utils-finder/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (2)Used By (0)

文件扫描器
-----

[](#文件扫描器)

文件扫描器，主要用于分析目录结构及数据大小。另外，提供检索目录指定后缀文件、递归检索目录指定后缀文件、简单检索目录类。

### 运行环境

[](#运行环境)

- PHP &gt;= 8.0

### 安装

[](#安装)

```
composer require 7csn/utils-finder

```

### 应用说明

[](#应用说明)

```
use chaser\utils\Finder;

# 获取文件或文件夹详情，非文件或文件夹返回 null
Finder::list(string $path): ?array;

# （递归）检索文件夹内指定后缀文件，非文件夹返回 null
Finder::scan(string $dir, string $ext = '.php', bool $deep = true): ?array;

# 检索文件夹内类库，非文件夹返回 null
# $namespace 为命名空间前缀
Finder::class(string $dir, string $namespace = null, bool $deep = true): ?array;
```

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 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

Unknown

Total

1

Last Release

1996d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/26515676?v=4)[7csn](/maintainers/7csn)[@7csn](https://github.com/7csn)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/7csn-utils-finder/health.svg)

```
[![Health](https://phpackages.com/badges/7csn-utils-finder/health.svg)](https://phpackages.com/packages/7csn-utils-finder)
```

PHPackages © 2026

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