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

Either Or Both Laravel Package

php-standard-library/either-or-both

A three-variant disjoint union type for PHP. EitherOrBoth models values that may be present on the left, the right, or both sides at once, giving you a type-safe way to express partial successes, asymmetric results, and paired data without nullable workarounds.

View on GitHub
Deep Wiki
Context7
Package
Score
Description
Stars
Likes
Forks
Downloads
Issues
Score
Opportunity
License
Last Release
juststeveking/parameterbag 0.83 A simple, framework-agnostic parameter bag for PHP. Wrap arrays of data in a typed object and access, validate, and manipulate values through a clean, readable API—ideal for request parameters, configuration, or DTO-style payloads. 5 5 1 3K 1 0.7 37.5 — 5 years ago
View on GitHub
prewk/result 0.83 prewk/result brings Rust-like Result to PHP: explicit Ok/Err values for safer, more readable error handling without exceptions. Use map/flatMap, unwrap/unwrapOr, and chain operations to handle success and failure paths cleanly in functional style. 120 120 12 21K 0 1.9 33.7 NOASSERTION —
View on GitHub
Context7
lambdish/phunctional 0.82 lambdish/phunctional is a functional programming toolkit for PHP and Laravel. It offers immutable collections, Option and Either types, currying, function composition, memoization, and pipeline helpers, making it easier to write expressive, side-effect-aware code without leaving familiar PHP. 363 — 36 — 1 3.1 — MIT 6 years ago
dave-liddament/php-language-extensions 0.82 PHP Language Extensions adds attributes for immutable classes, pure functions, read-only properties, and named parameters, with PHPStan rules to enforce them. Bring stronger safety and clearer APIs to PHP without waiting for new syntax. 196 196 5 27K 3 3.1 30.6 MIT 11 months ago
View on GitHub
sebastian/type 0.82 A collection of value objects that model the PHP type system, including simple, union, intersection, and special types. Use it to inspect, compare, and represent type information programmatically in PHP projects. 1,503 1,503 13 24M 1 27.4 62.7 BSD-3-Clause 2 months ago
View on GitHub
php-ds/php-ds 0.82 A v2 compatibility polyfill for the PHP ds extension, providing Seq, Map, Set, Heap, Pair, and Key types plus functional constructors, so your codebase keeps working when the extension isn't installed. Requires PHP 8.2+. 412 424 49 321K 10 18.6 47.8 MIT 5 months ago
View on GitHub
fp4php/functional 0.82 fp4php/functional brings functional programming to PHP with immutable collections, pipelines, pattern matching, and composable helpers. It simplifies data transformation and reduces boilerplate while fitting naturally into Laravel and existing PHP codebases. 203 203 6 9K 0 1.2 22.9 MIT 1 year ago
View on GitHub
Context7
gosuperscript/monads 0.81 gosuperscript/monads is a lightweight functional programming library for PHP and Laravel, offering Option, Result, and related monads to handle nullable values and errors safely through clean, chainable APIs. 6 6 1 24K 0 11.7 53.9 — 5 months ago
View on GitHub
solution/pipeline-builder 0.81 A Laravel package for composing reusable, testable pipelines from modular stages, with a fluent builder API for defining, running, and managing multi-step data processing workflows in PHP applications. 5 5 1 86 0 0.1 16.4 GPL-2.0 10 years ago
View on GitHub
var-lab/coding-standard 0.81 A shared coding standard for Laravel and PHP projects, providing opinionated, ready-to-use rules for PHP-CS-Fixer and PHP_CodeSniffer so teams can enforce consistent formatting and style across codebases with minimal configuration. 0 1 — 230 — 0.0 32.7 — —
View on GitHub
consistence/consistence 0.81 Consistence is a PHP library that brings stricter type safety and consistency to your code with enums, value objects, typed arrays, and DateTime helpers. It catches invalid data early and makes domain models clearer and safer. 182 — 15 — 5 3.3 3.4 NOASSERTION 5 years ago
php-di/php-di 0.81 PHP-DI is a practical, powerful, framework-agnostic dependency injection container for PHP. It helps manage services and wiring with autowiring and flexible configuration, making applications easier to build, test, and maintain across any framework. 2,772 2,855 320 4M 56 49.2 64.3 MIT 1 year ago
View on GitHub
Context7
thecodingmachine/phpstan-safe-rule 0.81 PHPStan rule that detects calls to unsafe core PHP functions and suggests the thecodingmachine/safe variants, which throw exceptions instead of returning false on error. Helps catch unsafe function usage during static analysis. 63 62 26 319K 3 20.1 57.0 — 4 months ago
View on GitHub
easyframework/generics 0.81 EasyFramework Generics provides lightweight generic-style typing and reusable collection helpers for Laravel and PHP projects. It helps reduce duplication, improve clarity, and simplify common data-handling tasks with framework-friendly APIs and straightforward setup. 2 0 0 9K 0 0.0 33.7 — 10 years ago
View on GitHub
itul/functions 0.81 itul/functions is a Laravel/PHP utility package that bundles a collection of handy global helper functions, simplifying common development tasks and cutting boilerplate so you can write cleaner, more expressive application code. 0 0 — 389 — 0.0 35.8 — —
View on GitHub
juststeveking/result 0.80 A lightweight Result type for PHP and Laravel. Return success or failure values instead of throwing exceptions, chain transformations, and handle errors explicitly. Supports ok/err creation, mapping, and unwrapping for clearer, safer, more testable control flow. 4 4 1 0 0 0.4 — MIT 1 year ago
View on GitHub
spatie/or-else 0.80 Adds an OrElse trait that auto-creates “*OrElse” method variants for your class methods. These variants accept a fallback value that’s returned whenever the original method returns null or false, helping you avoid repetitive default-handling code. 32 34 4 17 0 0.9 2.5 MIT 11 years ago
View on GitHub
flow-php/types 0.80 Flow PHP type system library with typed value objects and type definitions for consistent, safe data handling across the Flow ecosystem. Designed for ETL pipelines, it helps enforce data contracts and reduce runtime type errors. 2 2 2 62K 0 0.1 55.3 MIT —
View on GitHub
Context7
php-standard-library/fun 0.80 Functional programming utilities for PHP: compose and decorate functions, control execution, and build pipelines with small, reusable higher-order helpers. 1 1 0 28K 0 21.6 64.9 MIT 1 week ago
View on GitHub
tdn/php-types 0.80 A small PHP utility for working with types: safely cast values, validate data against expected types, and normalize scalars, arrays and objects. Lightweight and framework-agnostic, it drops easily into Laravel or any Composer project. 7 8 0 45 0 0.0 8.0 NOASSERTION 11 years ago
View on GitHub
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.
htinlynn/genius-helper
maco-studios/hephaestus
elmogy/larafast
xeviant/laravel-paystack
gorilladash/laravel-website-sdk
martialbe/flysystem-oss
chondal/3312client
jeroen-g/flickr
opscale-co/nova-genbi
itsjustvita/laravel-retention
tequilarapido/trackit
gregsphotography/site-builder-filament
cabaoctavio/laravel-query-log
gregsphotography/site-builder-components
io-digital/clickatell
snowsoft/laravel-admin
oxygen/auth
relicsoftware/barakah-payment-gateway
tobya/work-with-composer
equipc/laravel-email-validator