PHPackages                             shrink0r/monatic - 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. shrink0r/monatic

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

shrink0r/monatic
================

Fiddling with the monad concept in php

0.2.2(6y ago)245.3k1[2 PRs](https://github.com/shrink0r/monatic/pulls)2MITPHPPHP ^7.0

Since May 20Pushed 3y ago5 watchersCompare

[ Source](https://github.com/shrink0r/monatic)[ Packagist](https://packagist.org/packages/shrink0r/monatic)[ RSS](/packages/shrink0r-monatic/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (4)Dependencies (7)Versions (7)Used By (2)

monatic
=======

[](#monatic)

[![Latest-Stable-Version](https://camo.githubusercontent.com/f0785f3e01e0aec9967815cc35545e42f1613670dd5cb94fec8b4dcbbc816e9a/68747470733a2f2f706f7365722e707567782e6f72672f736872696e6b30722f6d6f6e617469632f762f737461626c652e737667)](https://packagist.org/packages/shrink0r/monatic "shrink0r/monatic on packagist")[![License](https://camo.githubusercontent.com/bfd04f3dfc44f392fcd18d8eee65c8f4f93b456f79f0f8bb0b0535eac9d90956/68747470733a2f2f706f7365722e707567782e6f72672f736872696e6b30722f6d6f6e617469632f6c6963656e73652e737667)](LICENSE.md "license file with full text of the license")[![Latest Unstable Version](https://camo.githubusercontent.com/83772c49322c8e426cc3c366b7ec24ce15a0130dfd121a9b10a33627bd5f21a2/68747470733a2f2f706f7365722e707567782e6f72672f736872696e6b30722f6d6f6e617469632f762f756e737461626c652e737667)](https://packagist.org/packages/shrink0r/monatic "shrink0r/monatic on packagist")[![Build Status](https://camo.githubusercontent.com/51ef9bff62326f553cc9b9c04145450e2307e699291f164328159a653050d52f/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f736872696e6b30722f6d6f6e617469632e706e67)](http://travis-ci.org/shrink0r/monatic "shrink0r/monatic on travis-ci")[![Coverage Status](https://camo.githubusercontent.com/b9fd737dce935a1927d7edad8a2a638e0f78099ccb133f4ac9a40c0ff3af6d6b/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f736872696e6b30722f6d6f6e617469632f62616467652e706e67)](https://coveralls.io/r/shrink0r/monatic "shrink0r/monatic on coveralls")[![Code Climate](https://camo.githubusercontent.com/a26aaa1ba0393ff2ad591090241ac4deeaed51d96e88b206b9f5b7b921d31955/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f736872696e6b30722f6d6f6e617469632f6261646765732f6770612e737667)](https://codeclimate.com/github/shrink0r/monatic)[![Dependency Status](https://camo.githubusercontent.com/c9505514b9552ce95419d237e6f3bf2d1f2b9045810a3cf0a407f459168c5a9b/68747470733a2f2f7777772e76657273696f6e6579652e636f6d2f757365722f70726f6a656374732f3535306235316632613830623566633132643030303137642f62616467652e7376673f7374796c653d666c61742d737175617265)](https://www.versioneye.com/user/projects/550b51f2a80b5fc12d00017d "shrink0r/monatic on versioneye")[![Stories in Ready](https://camo.githubusercontent.com/c28c76cbade83e348c996387540d6e1bddb51169045715f4fef0215af44f969f/68747470733a2f2f62616467652e776166666c652e696f2f736872696e6b30722f6d6f6e617469632e706e673f6c6162656c3d7265616479267469746c653d5265616479)](https://waffle.io/shrink0r/monatic "shrink0r/monatic on waffle")[![Total Composer Downloads](https://camo.githubusercontent.com/eed223113b63bde97731ee9715c364bf3e17f744f7e3756fd6e47883cab3878a/68747470733a2f2f706f7365722e707567782e6f72672f736872696e6b30722f6d6f6e617469632f642f746f74616c2e706e67)](https://packagist.org/packages/shrink0r/monatic "shrink0r/monatic on packagist")

Purpose
-------

[](#purpose)

Fiddling with the monad concept in php.

Requirements and installation
-----------------------------

[](#requirements-and-installation)

- PHP v5.6+

Install the library via [Composer](http://getcomposer.org/):

`./composer.phar require shrink0r/monatic [optional version]`

Adding it manually as a vendor library requirement to the `composer.json` file of your project works as well:

```
{
    "require": {
        "shrink0r/monatic": "^0.2"
    }
}
```

Alternatively, you can download a release archive from the [available releases](https://github.com/shrink0r/monatic/releases) page.

Documentation
-------------

[](#documentation)

- [Usage](docs/usage.md)
- \[Markdown API-Doc\](docs/md/2. Classes.md)

Community
---------

[](#community)

None, but you may join the freenode IRC `#honeybee` channel anytime. :-)

Contributors
------------

[](#contributors)

Please contribute by [forking](http://help.github.com/forking/) and sending a [pull request](http://help.github.com/pull-requests/). More information can be found in the [`CONTRIBUTING.md`](CONTRIBUTING.md) file. The authors and contributors are mentioned in the [github contributors graph](https://github.com/shrink0r/monatic/graphs/contributors) of this repository.

The code tries to adhere to the following PHP-FIG standards: [PSR-4](http://www.php-fig.org/psr/psr-4/ "PSR-4 Autoloading Standard"), [PSR-1](http://www.php-fig.org/psr/psr-1/ "PSR-1 Basic Coding Standard") and [PSR-2](http://www.php-fig.org/psr/psr-2/ "PSR-2 Coding Style Guide").

Changelog
---------

[](#changelog)

See [`CHANGELOG.md`](CHANGELOG.md) for more information about changes.

License
-------

[](#license)

This project is MIT licensed. See the [linked license](LICENSE.md) for details.

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity27

Limited adoption so far

Community18

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 96.4% 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 ~459 days

Total

4

Last Release

2271d ago

PHP version history (2 changes)0.1.0PHP &gt;=5.6.0

0.2.2PHP ^7.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/dfca9866790a54b54ae14996dfad19438332d0167633206a22d5df1cfd14558d?d=identicon)[shrink0r](/maintainers/shrink0r)

![](https://www.gravatar.com/avatar/88ca3c7aa7051202485dde1d44c952960d66247d25cd94a4ca08f19a0858e605?d=identicon)[graste](/maintainers/graste)

![](https://www.gravatar.com/avatar/cfd8067a48429509afed9e9e36d51b8d5bfecd208fe9672ef7fc4a354ea7541b?d=identicon)[MrHash](/maintainers/MrHash)

---

Top Contributors

[![shrink0r](https://avatars.githubusercontent.com/u/202678?v=4)](https://github.com/shrink0r "shrink0r (53 commits)")[![graste](https://avatars.githubusercontent.com/u/203540?v=4)](https://github.com/graste "graste (2 commits)")

---

Tags

monad

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/shrink0r-monatic/health.svg)

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

###  Alternatives

[symfony/ai-agent

PHP library for building agentic applications.

30536.7k44](/packages/symfony-ai-agent)[marcosh/lamphpda

A collection of functional programming data structures

12313.5k4](/packages/marcosh-lamphpda)[chippyash/monad

Functional programming Monad support

2828.1k8](/packages/chippyash-monad)

PHPackages © 2026

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