Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ace411/bingo-functional

A simple functional programming library for PHP
https://github.com/ace411/bingo-functional

bingo-framework either-monad fp functional functional-php functional-programming functors helpers immutability immutable io-monad maybe-monad monads php php-library php7 reader-monad state-monad writer-monad

Last synced: about 3 hours ago
JSON representation

A simple functional programming library for PHP

Awesome Lists containing this project

README

        



bingo-functional

[![Join the chat at https://gitter.im/bingo-functional/Lobby](https://badges.gitter.im/bingo-functional/Lobby.svg)](https://gitter.im/bingo-functional/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
[![StyleCI](https://github.styleci.io/repos/102261728/shield?branch=master)](https://github.styleci.io/repos/102261728?branch=master)
![bingo-functional CI](https://github.com/ace411/bingo-functional/workflows/bingo-functional%20CI/badge.svg)
[![codecov](https://codecov.io/gh/ace411/bingo-functional/branch/master/graph/badge.svg)](https://codecov.io/gh/ace411/bingo-functional)
[![Latest Stable Version](https://poser.pugx.org/chemem/bingo-functional/v/stable)](https://packagist.org/packages/chemem/bingo-functional)
[![License](https://poser.pugx.org/chemem/bingo-functional/license)](https://packagist.org/packages/chemem/bingo-functional)
[![Total Downloads](https://poser.pugx.org/chemem/bingo-functional/downloads)](https://packagist.org/packages/chemem/bingo-functional)
[![Monthly Downloads](https://poser.pugx.org/chemem/bingo-functional/d/monthly)](https://packagist.org/packages/chemem/bingo-functional)
[![composer.lock](https://poser.pugx.org/chemem/bingo-functional/composerlock)](https://packagist.org/packages/chemem/bingo-functional)
[![Twitter](https://img.shields.io/twitter/url/https/github.com/ace411/bingo-functional.svg?style=social)](https://twitter.com/intent/tweet?text=Wow:&url=https%3A%2F%2Fgithub.com%2Face411%2Fbingo-functional)

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](https://bingo-functional-docs.now.sh) for more knowledge on how to use this library.

Also, a [changelog](https://github.com/ace411/bingo-functional/blob/master/README.md) 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 [email protected]

## Functional Programming in PHP

I published a book titled - Functional Programming in PHP - which is currently available on LeanPub. The bingo-functional library features extensively in the text as a tool whose potencies demonstrate usage of Functional Programming ideas in PHP. I advise that you purchase a copy for $9.99.





## Related Projects

- [**bingo-functional-js**](https://github.com/ace411/bingo-functional-js) A JavaScript port of this library

- [**bingo-functional-repl**](https://github.com/ace411/bingo-functional-repl) A REPL for this library

Buy Me A Coffee