PHPackages                             briandavidclark/ramuda - 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. briandavidclark/ramuda

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

briandavidclark/ramuda
======================

Functional programming helper library for PHP based on Ramda.js

v1.0.40(2y ago)142MITPHPPHP &gt;=5.6

Since Dec 1Pushed 2y ago1 watchersCompare

[ Source](https://github.com/briandavidclark/ramuda)[ Packagist](https://packagist.org/packages/briandavidclark/ramuda)[ RSS](/packages/briandavidclark-ramuda/feed)WikiDiscussions master Synced 4w ago

READMEChangelog (10)DependenciesVersions (42)Used By (0)

λ ramuda
========

[](#λ-ramuda)

Functional programming helper library for PHP based on [Ramda.js](https://ramdajs.com/)

As far as I know, this is the most feature complete port of [Ramda.js](https://ramdajs.com/) for PHP with over 350 functions. Also, includes many functions from [Ramda Adjunct](https://char0n.github.io/ramda-adjunct/2.24.0/index.html) and [Ramda Extension](https://ramda-extension.firebaseapp.com/docs/).

In addition, where possible, some of the functions have improved capabilities, such as **filter** and **map** handling strings and objects as well as the usual arrays.

Requires PHP 5.6 or higher.

Usage example:

```
use ramuda\R;

$users = [
   ['id'=>'45', 'fName'=>'Jane', 'lName'=>'Doe'],
   ['id'=>'22', 'fName'=>'John', 'lName'=>'Doe'],
   ['id'=>'99', 'fName'=>'John', 'lName'=>'Smith']
];

$listToSelect = R::pipe(
   R::filter(R::propEq('lName', 'Doe')),
   R::sortBy(R::prop('id')),
   R::map(function($x){
      return "{$x['fName']} {$x['lName']}";
   }),
   R::join(''),
   R::wrapWith(['', ''])
);

echo $listToSelect($users);
```

Produces the following string:

```

    John Doe
    Jane Doe

```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity56

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.

###  Release Activity

Cadence

Every ~15 days

Recently: every ~106 days

Total

41

Last Release

1017d ago

PHP version history (2 changes)1.0.0PHP &gt;=5.6

1.0.1PHP ^5.6

### Community

Maintainers

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

---

Top Contributors

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

---

Tags

functional-programmingphpramdautilityJSfunctionalfunctional-programmingcurryramdacurriedhaskellClojureramuda

### Embed Badge

![Health badge](/badges/briandavidclark-ramuda/health.svg)

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

###  Alternatives

[nette/utils

🛠 Nette Utils: lightweight utilities for string &amp; array manipulation, image handling, safe JSON encoding/decoding, validation, slug or strong password generating etc.

2.1k394.3M1.5k](/packages/nette-utils)[ihor/nspl

Non-standard PHP library (NSPL) - functional primitives toolbox and more

381368.5k](/packages/ihor-nspl)[matthiasmullie/minify

CSS &amp; JavaScript minifier, in PHP. Removes whitespace, strips comments, combines files (incl. @import statements and small assets in CSS files), and optimizes/shortens a few common programming patterns.

2.0k30.5M332](/packages/matthiasmullie-minify)[mpetrovich/dash

A functional programming library for PHP. Inspired by Underscore, Lodash, and Ramda.

10428.9k1](/packages/mpetrovich-dash)[phpcsstandards/phpcsutils

A suite of utility functions for use with PHP\_CodeSniffer

6233.4M58](/packages/phpcsstandards-phpcsutils)[bdelespierre/underscore

Underscore.js port in PHP

6943.7k1](/packages/bdelespierre-underscore)

PHPackages © 2026

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