Registry / utility / lstrojny-functional-php

lstrojny-functional-php

JSON →
library1.18.0phppackagistunverified

Functional primitives for PHP

composer require lstrojny/functional-php
INSTALL
IMPORT
SIG · LSTROJNY-FUNCTIONA
L
lstrojny-functional-php
utilityphpv1.18.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Functional
use Functional\Functional;

Map over an array

<?php require_once 'vendor/autoload.php'; use function Functional\map; $result = map([1, 2, 3], function($v) { return $v * 2; }); print_r($result);
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.18.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
8
Resources
lstrojny-functional-php — pip install lstrojny-functional-php · libregistry