3lvir4/funfp
最新稳定版本:v0.0.3
Composer 安装命令:
composer require 3lvir4/funfp
包简介
Some functional programming utilities.
README 文档
README
FunFP - Functional Programming Utilities for PHP
FunFP is a package designed to provide some functional programming paradigms and utils within your PHP projects.
Key features include a lot of iterator lazy operations like map, filter, groupBy among others for fluid manipulation of iterable data, along with some helpers.
Additionally, there is option and result types for handling errors by value and nullable values in a more fluid manner when PHP doesn't provide a convenient way to do it already. There is also basic iterators for various string manipulations like iterating over bytes, characters, lines, words etc...
Installation
You can add this library as a local, per-project dependency to your project using Composer:
composer require 3lvir4/funfp
If you only need this library during development, then you should add it as a development-time dependency:
composer require --dev 3lvir4/funfp
Wiki
maybe
Footnote
The goal of this library is not to turn PHP into haskell or whatever. I tried to aim at specific functional tools according to some stuff I wish I needed in some of my PHP projects.
统计信息
- 总下载量: 26
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-03-01