functional-php/fantasy-land

Specification for interoperability of common algebraic structures in PHP

Maintainers

👁 widmogrod

Package info

github.com/functional-php/fantasy-land

pkg:composer/functional-php/fantasy-land

Statistics

Installs: 6 868 921

Dependents: 5

Suggesters: 1

Stars: 38

Open Issues: 4

1.0.2 2024-12-18 16:28 UTC

Requires

  • php: >=7.1

Suggests

None

Provides

None

Conflicts

None

Replaces

None

BSD-3-Clause 9a43201d827ced038ffd374f2d018d7a54ad33e2

  • Gabriel Habryn <widmogrod+github.woop@gmail.com>

This package is auto-updated.

Last update: 2026-06-18 20:12:38 UTC


README

Introduction

This project specifies interoperability of common algebraic structures in PHP. The inspiration for this package is the fantastic fantasyland project [A].

The repository contains the following algebraic structures:

Each of those algebraic structures must obey some laws. In order to simplify their verification, the project provides encapsulated property tests. They can be used to easily verify the correctness of newly implemented structures.

You can find exemples on how to use those tests in the directory of examples

Installation

composer require functional-php/fantasy-land:^1

Projects that are using FantasyLand

References