PHPackages                             hampom/bari-kata-functional - 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. hampom/bari-kata-functional

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

hampom/bari-kata-functional
===========================

0.0.1(7mo ago)00MITPHPPHP &gt;=8.2

Since Sep 15Pushed 7mo agoCompare

[ Source](https://github.com/hampom/BariKata-Functional)[ Packagist](https://packagist.org/packages/hampom/bari-kata-functional)[ RSS](/packages/hampom-bari-kata-functional/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (4)Versions (2)Used By (0)

BariKata-Functional
===================

[](#barikata-functional)

 のプラグイン集です

プラグイン
-----

[](#プラグイン)

- FilterPlugin
- MapPlugin
- ReducePlugin

インストール
------

[](#インストール)

Composer を使ってインストールできます

```
composer require hampom/barikata-functional

```

使い方
---

[](#使い方)

基本的な使い方の例をいくつか示します

### FilterPlugin

[](#filterplugin)

```
$collection = new TypedCollection('int', [1, 2, 3, 4, 5], [
    new FilterPlugin()
]);

$results = $collection->filter(fn(int $x) => $x % 2 === 0);
// -> [2, 4]
```

### MapPlugin

[](#mapplugin)

```
$collection = new TypedCollection('int', [1, 2, 3, 4, 5], [
    new MapPlugin()
]);

$results = $collection->map(fn(int $x) => $x * 2);
// -> [2, 4, 6, 8, 10]
```

### ReducePlugin

[](#reduceplugin)

```
$collection = new TypedCollection('int', [1, 2, 3, 4, 5], [
    new ReducePlugin()
]);

$results = $collection->reduce(fn(int $carry, int $x) => $carry + $x, 0);
// -> 15
```

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance62

Regular maintenance activity

Popularity0

Limited adoption so far

Community6

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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

237d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/5dc04b1941fe73f6800302156a749739f6c8a996fd0afc16e1231cce30e6af1f?d=identicon)[hampom](/maintainers/hampom)

---

Top Contributors

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

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/hampom-bari-kata-functional/health.svg)

```
[![Health](https://phpackages.com/badges/hampom-bari-kata-functional/health.svg)](https://phpackages.com/packages/hampom-bari-kata-functional)
```

###  Alternatives

[codewithdennis/filament-select-tree

The multi-level select field enables you to make single selections from a predefined list of options that are organized into multiple levels or depths.

320392.1k17](/packages/codewithdennis-filament-select-tree)[james.xue/ali-safe-api

阿里内容检测，包括文本、关键词文本检测以及对图片涉黄、暴恐、敏感检测、广告、二维码等

664.8k1](/packages/jamesxue-ali-safe-api)

PHPackages © 2026

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