PHPackages                             tinyporo/algorithm - 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. tinyporo/algorithm

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

tinyporo/algorithm
==================

06PHP

Since May 16Pushed 8y agoCompare

[ Source](https://github.com/TinyPoro/Algorithm)[ Packagist](https://packagist.org/packages/tinyporo/algorithm)[ RSS](/packages/tinyporo-algorithm/feed)WikiDiscussions master Synced 4d ago

READMEChangelogDependenciesVersions (1)Used By (0)

Poro\\Algorithm
===============

[](#poroalgorithm)

Poro researching on algorithms.

Usage
-----

[](#usage)

#### 1.String Searching

[](#1string-searching)

First, create searching object with algorithm you want with the argument is the `FullString`, example below describle how to create object with `BruteForce` searching algorithm.

```
$StringSearching = new \Poro\Algorithm\StringSearching\BruteForce('FullString');

```

Then, we can find all the position of a `SearchString` in the `String` with function `run`:

```
$result = $StringSearching->run(SearchString);

```

With `Morris-Pratt`, there is a better version call `Knuth-Morris-Pratt`. By default, the morris-pratt-object will run with the better version. But if you want to use with normal version, you can pass 1/MorrisPratt::MORRIS\_PRATT as the second argument of `run` function

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

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

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/tinyporo-algorithm/health.svg)

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

###  Alternatives

[datlechin/filament-menu-builder

Create and manage menus and menu items

13550.3k2](/packages/datlechin-filament-menu-builder)

PHPackages © 2026

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