Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Fantasy Land Laravel Package

functional-php/fantasy-land

Fantasy Land–style algebraic structures for PHP to enable interoperable functional patterns. Includes interfaces for Setoid, Semigroup/Monoid, Functor, Applicative, Monad, Foldable/Traversable, plus ready-made law/property tests to verify implementations.

View on GitHub
Deep Wiki
Context7

FantasyLand Build Status

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

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
socialdept/tenant-domains
tautvydasr/blade-class-names
socialdept/color-scales
maherelgamil/controller
coleus/widgets
coleus/table
coleus/users
coleus/music
coleus/health
coleus/calendar
coleus/notes
coleus/support
coleus/settings
coleus/apps
seampact/laravel
emmyconceptng/laravel-ng-postcode
jjsquady/round-robin
skyraptor/chatter
edlugz/sasapay
abbasudo/artisan-route