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

29

—

LowBetter than 60% of packages

Maintenance66

Regular maintenance activity

Popularity0

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity37

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

236d 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

[symfony/polyfill-uuid

Symfony polyfill for uuid functions

688335.4M63](/packages/symfony-polyfill-uuid)[spatie/error-solutions

This is my package error-solutions

6853.2M11](/packages/spatie-error-solutions)[phpflo/phpflo

Flow-based programming for PHP

2173.3k4](/packages/phpflo-phpflo)[eftec/autoloadone

AutoloadOne is a program that generates an autoload class for PHP.

403.4k](/packages/eftec-autoloadone)[ys-tools/default-theme-configuration-bundle

OroCommerce Default Theme Configuration Bundle

124.2k](/packages/ys-tools-default-theme-configuration-bundle)

PHPackages © 2026

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