chemem/bingo-functional

A simple functional programming library.

Maintainers

Package info

github.com/ace411/bingo-functional

pkg:composer/chemem/bingo-functional

Transparency log

Fund package maintenance!

Tidelift

Statistics

Installs: 7 158

Dependents: 6

Suggesters: 0

Stars: 67

Open Issues: 3

v2.5.0 2026-07-19 18:01 UTC

README

bingo-functional

Join the chat at https://gitter.im/bingo-functional/Lobby bingo-functional CI codecov Latest Stable Version License Total Downloads Monthly Downloads composer.lock Twitter

A simple functional programming library for PHP.

Requirement(s)

  • PHP 7 or higher

Rationale

PHP, a language not commonly associated with Functional Programming, does support the paradigm - to an extent. The language's Functional Programming affability though substantial is not the same as that of Haskell, OCaml, or F# - purely Functional languages. bingo-functional is an attempt at enhancing the usability of FP techniques - those that warrant the use of helper functions, applicatives, monads, pattern matching, and immutable lists.

Documentation

Please check out the documentation for more knowledge on how to use this library.

Also, a changelog exists and can be used to track changes made to the project.

Dealing with problems

Endeavor to create an issue on GitHub when the need arises or send an email to lochbm@gmail.com

Functional Programming in PHP

I collaborated with Apress to release a new edition of Functional Programming in PHP, which you, a prospective reader, can find on the Apress bookstore. Featured prominently throughout the book are artifacts in this library whose origins (where necessary) and use cases are explored. I recommend you consider getting yourself a copy so you can further acquaint yourself with the paradigm and set yourself on a path to writing performant, composable code.

Related Projects

Buy Me A Coffee