PHPackages                             pldin601/php-funky - 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. pldin601/php-funky

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

pldin601/php-funky
==================

Functional Library for PHP

1.0(10y ago)047[1 issues](https://github.com/pldin601/php-funky/issues)[1 PRs](https://github.com/pldin601/php-funky/pulls)PHPPHP ^5.6

Since Mar 8Pushed 2y agoCompare

[ Source](https://github.com/pldin601/php-funky)[ Packagist](https://packagist.org/packages/pldin601/php-funky)[ Docs](https://github.com/pldin601/php-funky)[ RSS](/packages/pldin601-php-funky/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (1)Versions (3)Used By (0)

php-funky
=========

[](#php-funky)

Functional Library for PHP.

Consist of two parts - Option and Lambda.

Option
------

[](#option)

Option is an object that represents encapsulation of an optional value. It can be used as the return value of functions which may or may not return a meaningful value when they are applied. It has two subclasses - Some and None. First encapsulates the original data and the second if there is no data to encapsulate.

Lambda
------

[](#lambda)

Lambda is a tool which helps you to make short callback functions for using, for example, in map, filter, sort or reduce callbacks.

Example 1. Will return sum of numbers from 1 up to 5:

```
$sum = array_reduce(range(1, 5), func("$ + $"), 0);
```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 50% 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

3713d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6b15606ac61bb3a0a0c37f0634e950a5168f617fac716edc2eb83392a14b2e89?d=identicon)[pldin601](/maintainers/pldin601)

---

Top Contributors

[![pyldin601](https://avatars.githubusercontent.com/u/8050895?v=4)](https://github.com/pyldin601 "pyldin601 (1 commits)")[![renovate-bot](https://avatars.githubusercontent.com/u/25180681?v=4)](https://github.com/renovate-bot "renovate-bot (1 commits)")

---

Tags

optionfunctionallambda

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/pldin601-php-funky/health.svg)

```
[![Health](https://phpackages.com/badges/pldin601-php-funky/health.svg)](https://phpackages.com/packages/pldin601-php-funky)
```

###  Alternatives

[phpoption/phpoption

Option Type for PHP

2.7k541.2M157](/packages/phpoption-phpoption)[lstrojny/functional-php

Functional primitives for PHP

2.0k7.3M48](/packages/lstrojny-functional-php)[lambdish/phunctional

λ PHP functional library

3612.0M23](/packages/lambdish-phunctional)[nikic/iter

Iteration primitives using generators

1.1k5.9M38](/packages/nikic-iter)[kartik-v/dependent-dropdown

A multi level dependent dropdown JQuery plugin that allows nested dependencies.

1805.0M3](/packages/kartik-v-dependent-dropdown)[wnx/sidecar-browsershot

A Sidecar function to run Browsershot on Lambda.

2331.5M5](/packages/wnx-sidecar-browsershot)

PHPackages © 2026

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