PHPackages                             arturg/needlefinder - 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. arturg/needlefinder

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

arturg/needlefinder
===================

test project for find needle string in some file

01PHP

Since Mar 30Pushed 6y ago1 watchersCompare

[ Source](https://github.com/ArthurGi/needlesearcher)[ Packagist](https://packagist.org/packages/arturg/needlefinder)[ RSS](/packages/arturg-needlefinder/feed)WikiDiscussions master Synced 6d ago

READMEChangelogDependenciesVersions (1)Used By (0)

needlesearcher
==============

[](#needlesearcher)

needlesearcher

INSTALLATION
------------

[](#installation)

### Install via Composer

[](#install-via-composer)

```
composer require arturg/needlefinder

```

USAGE
-----

[](#usage)

```
use src\NeedleFinder;

$filepath   = "https://raw.githubusercontent.com/ArthurGi/hooli/master/files/news.txt";
//третьим параметров в NeedleFinder можно прокинуть сво класс поиска,
//главное чтобы он имплементил SearchInterface
$ns = new NeedleFinder($filepath, true);
$str = 'on';
$text_coords = $ns->search($str);

echo "строка $str найдена в: ";
foreach ($text_coords as $key => $line) {
    foreach ($line as $coords) {
        echo "строка $key: с {$coords['start']} по {$coords['end']} символ ";
    }
}

```

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity1

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity34

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://avatars.githubusercontent.com/u/16038388?v=4)[ArthurGi](/maintainers/ArthurGi)[@ArthurGi](https://github.com/ArthurGi)

---

Top Contributors

[![ArthurGi](https://avatars.githubusercontent.com/u/16038388?v=4)](https://github.com/ArthurGi "ArthurGi (13 commits)")

### Embed Badge

![Health badge](/badges/arturg-needlefinder/health.svg)

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

###  Alternatives

[touskar/php-socket-io-event-emitter

2612.4k](/packages/touskar-php-socket-io-event-emitter)

PHPackages © 2026

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