PHPackages                             art4es/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. art4es/finder

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

art4es/finder
=============

01[1 PRs](https://github.com/Art4es/umbrellio-task/pulls)PHPCI failing

Since Sep 20Pushed 3mo ago1 watchersCompare

[ Source](https://github.com/Art4es/umbrellio-task)[ Packagist](https://packagist.org/packages/art4es/finder)[ RSS](/packages/art4es-finder/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependenciesVersions (2)Used By (0)

Installation: "composer require art4es/finder"

Works perfect with absolute paths and paths relative to usage location.

Usage:

```
$file = new File('path/to/file.txt');
$strategy = new SubstringSearchingStrategy('searchingWord');
$validatorsProvider = new YamlValidatorsProvider('path/to/config.yaml'); //if you need validate file
$finder = new Finder($file, $strategy, $validatorsProvider);
```

config.yaml example:

```
mime_types:
  - 'text/plain'
  - 'application/json'
extension:
  - 'bmp'
  - 'jpeg'
file_size:
  min: 10
  max: 60
```

Position of validators in the config file affects to the order of validation.

There are 3 configurable Validators out-of-the-box:

- ExtensionValidator
- FileSizeValidator
- MimeTypeValidator

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance54

Moderate activity, may be stable

Popularity1

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity38

Early-stage or recently created project

 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.

### Community

Maintainers

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

---

Top Contributors

[![Art4es](https://avatars.githubusercontent.com/u/22673518?v=4)](https://github.com/Art4es "Art4es (33 commits)")

### Embed Badge

![Health badge](/badges/art4es-finder/health.svg)

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

PHPackages © 2026

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