Weave Code
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

Php Functional Laravel Package

widmogrod/php-functional

Functional programming toolkit for PHP with immutable data structures, monads and typed abstractions. Includes Option/Either/Try, collections, pattern matching, and helpers for safer, composable code. Useful for DDD, CQRS and FP-style application architecture.

View on GitHub
Deep Wiki
Context7
7.0.0

What's Changed

Full Changelog: https://github.com/widmogrod/php-functional/compare/6.0.2...7.0.0

6.0.1
6.0.0

You can use php-functional with PHP8

Breaking change match function was renamed to matchExpression

5.0.1
5.0.0
4.2.0
  • Haskell-ish like do notation in PHP #77
  • Remove sequence_ sequence
  • Reimplement sequenceM
  • Readme updates
4.1.0

#85

4.0.0
  • Lazy Listt is used everywhere as a default "list" implementation.
  • Native array is now used only as a tuple
  • A lot of new functions like repeat, cycle, take, drop,...
  • MonadFree now is considered stable
  • A lot of new tests, and small improvements
3.3.0
3.2.0
2.0.0-beta2
  • Applicative Laws for all monads
  • IO\getChar
  • IO\getLine defined by getChar
  • utility functions: f\applicate, f\stringContat
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.
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
christhompsontldr/phpsdk
enqueue/dsn
bunny/bunny
enqueue/test
enqueue/null
enqueue/amqp-tools
milesj/emojibase
bower-asset/punycode
bower-asset/inputmask
bower-asset/jquery
bower-asset/yii2-pjax
laravel/nova
spatie/laravel-mailcoach
spatie/laravel-superseeder
laravel/liferaft
nst/json-test-suite
danielmiessler/sec-lists
jackalope/jackalope-transport