PHPackages                             gertvdb/monad - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. gertvdb/monad

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

gertvdb/monad
=============

Utilities to help ease use of monads in Php

2.1.30(3mo ago)01.1k[2 PRs](https://github.com/gertvdb/Monad/pulls)LGPL-3.0-or-laterPHPPHP ~8.3CI passing

Since Sep 9Pushed 2mo agoCompare

[ Source](https://github.com/gertvdb/Monad)[ Packagist](https://packagist.org/packages/gertvdb/monad)[ Docs](https://github.com/gertvdb/Monad)[ RSS](/packages/gertvdb-monad/feed)WikiDiscussions main Synced 2d ago

READMEChangelogDependencies (12)Versions (40)Used By (0)

Monad
=====

[](#monad)

[![Build](https://github.com/gertvdb/Monad/actions/workflows/quality_assurance.yaml/badge.svg)](https://github.com/gertvdb/Monad/actions/workflows/quality_assurance.yaml/badge.svg)[![Tests](https://github.com/gertvdb/Monad/raw/main/badge-coverage.svg)](https://github.com/gertvdb/Monad/blob/main/badge-coverage.svg)[![Software License](https://camo.githubusercontent.com/c7ac37193c76a18cfbd9376fa02f6c3d160b11b4f6eda387e6046b0d4e373d17/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4147504c76332d677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)

Utilities to help ease use of monads in Php.

Install
-------

[](#install)

Then run the following command

```
$ composer require gertvdb/monad
```

Dependencies
------------

[](#dependencies)

When this package requires a new dependency make sure to install it through the docker container. That way we can make sure the dependency is never out of sync with the php/composer version

Testing
-------

[](#testing)

```
$ composer test
```

Static analysis
---------------

[](#static-analysis)

```
$ composer phpstan
```

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) and [CODE\_OF\_CONDUCT](CODE_OF_CONDUCT.md) for details.

Security
--------

[](#security)

If you discover any security related issues, please email gertvandenbuijs at hotmail dot com instead of using the issue tracker.

License
-------

[](#license)

The Lesser GPL version 3 or later. Please see [License File](LICENSE.md) for more information.

###  Health Score

47

—

FairBetter than 93% of packages

Maintenance83

Actively maintained with recent releases

Popularity19

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 83.1% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~5 days

Recently: every ~0 days

Total

36

Last Release

106d ago

Major Versions

1.0.3 → 2.0.02025-12-03

PHP version history (2 changes)1.0.0PHP ~8.1

1.0.3PHP ~8.3

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/7106435?v=4)[Gert van den Buijs](/maintainers/gertvdb)[@gertvdb](https://github.com/gertvdb)

---

Top Contributors

[![gertvdb](https://avatars.githubusercontent.com/u/7106435?v=4)](https://github.com/gertvdb "gertvdb (74 commits)")[![actions-user](https://avatars.githubusercontent.com/u/65916846?v=4)](https://github.com/actions-user "actions-user (15 commits)")

---

Tags

functionalmonad

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StyleECS

Type Coverage Yes

### Embed Badge

![Health badge](/badges/gertvdb-monad/health.svg)

```
[![Health](https://phpackages.com/badges/gertvdb-monad/health.svg)](https://phpackages.com/packages/gertvdb-monad)
```

###  Alternatives

[symfony/dependency-injection

Allows you to standardize and centralize the way objects are constructed in your application

4.2k455.6M9.6k](/packages/symfony-dependency-injection)[illuminate/contracts

The Illuminate Contracts package.

706130.3M13.3k](/packages/illuminate-contracts)[illuminate/container

The Illuminate Container package.

31182.0M2.4k](/packages/illuminate-container)[ecotone/ecotone

Enterprise architecture layer for Laravel and Symfony — CQRS, Event Sourcing, Durable Workflows (Sagas, Orchestrators), Projections, and Outbox messaging via PHP attributes.

564576.7k53](/packages/ecotone-ecotone)[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

751291.4k43](/packages/civicrm-civicrm-core)[symfony/object-mapper

Provides a way to map an object to another object

361.5M55](/packages/symfony-object-mapper)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
