- php 함수형 프로그래밍
* lstrojny /functional-php <=== 권장
https://github.com/lstrojny/functional-php - 1.6k
- v1.11.0 , 2019/12
https://github.com/lstrojny/functional-php/blob/master/docs/functional-php.md
설치
composer require lstrojny/functional-php
사용
use Functional as _ ;
$fn1 = function ($val, $key, $collection) {
return $val+1;
};
$ret = _\map([0,1,2,2,3], $fn1 );
$ret = _\unique($ret);
//-----------------------------------------------
* maciejczyzewski / bottomline
https://github.com/maciejczyzewski/bottomline - 415
- v0.1.2 , 2018/08
//--------------------------------------------------
* Anahkiasen / underscore-php
https://github.com/Anahkiasen/underscore-php - 1.1k
- v2.0.0 , 2015
* brianhaveri / Underscore.php
underscore/underscore.php
https://github.com/brianhaveri/Underscore.php - 1.2k
http://brianhaveri.github.io/Underscore.php/
- release 없음
- v1.3.1 , 2012
//--------------------------------------------------
* yuhanz /ramda-php
https://github.com/yuhanz/ramda-php - 14
- release 없음
* kapolos /pramda
https://github.com/kapolos/pramda - 237
- release 없음
v0.10.0 , 2016
* tajawal / php-lodash
https://github.com/tajawal/php-lodash - 23
- v1.0.10 , 2018
* lodash-php / lodash-php
https://github.com/lodash-php/lodash-php - 365
- v0.0.6 , 2019/3
* ace411 /bingo-functional
https://github.com/ace411/bingo-functional - 33
v1.12.0 , 2019/2
* bdelespierre / php-underscore
https://github.com/bdelespierre/php-underscore - 60
- v0.2.0 , 2015
* dsheiko /extras
https://github.com/dsheiko/extras - 5
- v1.0.3 , 2018
'Code > PHP' 카테고리의 다른 글
[php] 워드프레스 설치 (0) | 2020.07.31 |
---|---|
[php] php에서 자바스크립트 함수 실행하는 방법 (v8js) (0) | 2020.04.10 |
[php] PCNTL ( Process Control) 확장 사용법 예제 (0) | 2020.03.25 |
php 7.3 PCNTL 확장 기능 활성화 방법 (0) | 2020.03.24 |
[php] PHP 7.4의 새로운 기능 (0) | 2020.03.12 |