Ross ROSS = Recommend OSS · open-source software intelligence for agents

lstrojny/functional-php

Primitives for functional programming in PHP observed · 2026-08-28

github.com/lstrojny/functional-php · PHP · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

68/100

  • Activity 73
  • Release rhythm 43
  • Longevity 100
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.

  • gap_med: n/a
  • age_days: 5582
  • days_rel: 165
  • days_push: 165
  • n_releases_24m: 1

Full methodology

Adoption not part of the score

1984 stars · 202 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

A PHP library providing functional programming primitives inspired by Scala's collections, Dojo's array functions, and Underscore.js. It offers a consistent set of functions operating on arrays and Traversable objects, all namespaced under Functional.

Use cases

  • apply map, filter, and reduce operations on PHP collections
  • work with arrays and Traversable objects using a consistent functional API
  • replace verbose foreach loops with functional primitives
  • flatten, unique, and invoke functions on collections
  • write more declarative PHP code with callbacks

When to choose

  • you want Underscore.js-style functional utilities in PHP
  • you need consistent collection manipulation functions for arrays and Traversable objects
  • you prefer functional style over imperative loops in PHP codebases

When to avoid

  • you need high-performance native C implementations (the C extension was removed)
  • your project avoids extra dependencies and PHP's built-in array functions suffice
  • you need immutable persistent data structures rather than function primitives

Facets

library · maturity stable

developer-tools developer-tools programming-languages php functional-programming collections underscore-inspired traversable

1 source

Member repositories

RepositoryRoleHealth v2
lstrojny/functional-phpmain68

For agents

markdown · JSON · MCP: product_card(name="lstrojny/functional-php")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem