What's your take on Monads in php?

This page summarizes the projects mentioned and recommended in the original post on /r/PHP

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • Monad PHP

    A simple Monad library for PHP

  • Looking at some libraries that implement monads (like monad-php), I feel a bit clunky using php's syntax, specifically because generics are not baked into the language (for example it's hard to know what you're binding to when you $o->bind(fn($whatIsThisExactly)=>...) ).

  • catpaw-optional

  • I was playing with the idea and in my own small world and it looks nice (to me), but I wonder if that's applicable in real use cases? I mean it would imply many other things, like the way one uses json_decode and pdo fetches.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • fp

    Utilities for functional tasks in PHP, especially pipelining (by Crell)

  • The much, much easier solution is to just write a lens helper, which I did for my Crell/fp helper library. It's basically a user-space pipe operator with a series of convenience functions, two of which look like this:

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • I asked GPT-4 what top 5 improvements it would make to the PHP language to make it more competitive

    2 projects | /r/PHP | 9 Apr 2023
  • How do I become a better dev?

    1 project | /r/PHP | 4 Mar 2023
  • How to Lose Functional Programming at Work

    2 projects | news.ycombinator.com | 29 Jan 2023
  • The Android Clean Architecture is surely so clean that I barely see any packages here

    3 projects | /r/mAndroidDev | 15 Jan 2023
  • When is it useful to implement a Pipeline?

    2 projects | /r/PHPhelp | 29 Dec 2022