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

Option Laravel Package

prewk/option

Lightweight Option type for PHP providing Some/None to avoid nulls. Adds map/flatMap/filter, unwrap with defaults, and safe chaining inspired by functional programming. Handy for Laravel and general PHP codebases where nullable values cause bugs.

View on GitHub
Deep Wiki
Context7
Package
Score
Description
Stars
Likes
Forks
Downloads
Issues
Score
Opportunity
License
Last Release
widmogrod/php-functional 0.83 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. 369 374 32 264K 7 9.0 41.4 MIT 1 year 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
php-standard-library/option 0.80 Option type for PHP with explicit Some/None presence semantics, replacing nullable values so absence is handled intentionally instead of silently. Part of the PHP Standard Library. 1 1 0 113K 0 21.7 65.0 MIT 1 week ago
View on GitHub
imanghafoori/laravel-nullable 0.78 — 151 151 10 16K 2 3.1 28.4 MIT 1 year ago
View on GitHub
lstrojny/functional-php 0.78 Functional PHP adds a rich set of functional programming helpers for PHP: map/filter/reduce, partial application, currying, composition, and collections utilities. Write cleaner, more declarative code without changing your framework or coding style. 1,982 1,996 201 60K 8 27.8 27.5 MIT 7 months ago
View on GitHub
Context7
digitalrevolution/utils 0.77 A PHP 8.3+ utility library of everyday helper classes, focused on array operations such as first/last, find, flatten, map, groupBy, diff, unique, remove, JSON conversion, and path fetching, plus iterable and string helpers. 2 1 8 2K 1 29.0 46.8 MIT 3 weeks ago
View on GitHub
phpoption/phpoption 0.77 The Option type for PHP: a lightweight library that makes nullable return values explicit with Some and None classes. It forces developers to handle both cases, reducing fatal errors from calling methods on null while enabling more concise APIs. 2,665 2,689 67 24M 0 38.5 62.3 Apache-2.0 2 months ago
View on GitHub
spatie/laravel-options 0.77 Generate unified select option lists in Laravel from enums, Eloquent models, states, and arrays. Spatie laravel-options converts sources to a consistent label/value structure, supports customization via config, and makes building dropdowns and filters faster and cleaner. 252 255 9 15K 0 13.4 26.3 MIT 7 months ago
View on GitHub
Context7
damian972/options-bundle 0.77 — 1 1 0 0 0 0.6 — MIT 5 years ago
View on GitHub
Context7
open-southeners/extended-php 0.76 Extended PHP helpers for modern apps: adds convenient functions, utilities, and small enhancements that complement core PHP to reduce boilerplate and speed up everyday development. Lightweight, easy to drop into existing projects. 0 0 0 286 0 7.2 34.0 MIT 1 year ago
View on GitHub
michalkortas/laravel-options-creator 0.76 — 2 2 0 0 0 3.9 — — 5 years ago
View on GitHub
aurexengine/framework 0.76 Custom Chassis Framework (aurexengine/framework) is a Laravel/PHP framework package providing a chassis-style foundation for building applications and modules. Intended as a base layer for project structure, shared conventions, and core utilities. 0 0 0 0 0 0.0 — — —
View on GitHub
Context7
funeralzone/valueobjects 0.76 PHP 7.1+ value object toolkit for fundamental scalar-based VOs. Provides traits for strings/ints/etc, enums via constants, easy native serialization (fromNative/toNative), and encourages domain validation logic. Includes extension library for complex objects. 66 66 7 44K 2 6.3 38.9 MIT 5 years ago
View on GitHub
citizen63000/easy-api-core 0.76 Symfony bundle with core utilities for REST APIs: entity config introspection from Doctrine or database schema, form serialization for dynamic frontends, an abstract command base, and helpers for persistence, case conversion, and pluralization. 0 0 1 23 0 17.5 21.8 MIT 2 months ago
View on GitHub
luezoid/laravel-core 0.75 — 11 11 9 144 2 1.6 15.4 MIT 3 years ago
View on GitHub
creavo/option-bundle 0.75 Symfony bundle to store and retrieve application options/settings via a service, Twig helper, or console commands. Persists values in Doctrine, supports typed options, optional eager loading, and PSR-16 simple cache for faster reads. 0 0 0 0 0 5.1 — — 2 years ago
View on GitHub
Context7
php-standard-library/foundation 0.75 Foundation provides the core building blocks for PHP Standard Library packages: a consistent exception hierarchy, the Ref reference wrapper for safe value passing, and invariant functions for validating preconditions and enforcing assumptions. Lightweight, dependency-free, and designed for reuse acr... 1 1 0 105K 0 21.6 64.9 MIT 1 week ago
View on GitHub
ringlesoft/laravel-selectable 0.74 Laravel Selectable generates HTML select options directly from Laravel collections using a fluent, chainable API. Customize labels and values with strings or closures, set selected/disabled options, add data attributes, grouping, and export arrays for AJAX or SPAs. 5 6 0 1 0 17.0 1.1 MIT 3 months ago
View on GitHub
braunstetter/choosy-type 0.73 — 0 0 0 0 0 1.8 — — 3 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.
adachsoft/changelog-linter
adachsoft/collection
payerurl/telegrambot-crypto-payment-instant-payout
dskripchenko/laravel-hybrid-search
riorizkyrainey/lara-ced
mehedimi/static-vel
zharp/zharp
nonsapiens/bigquery-model-sync
lgu-bayambang-ict-office/lgu-laravel-development-standards
andydefer/laravel-support
se7enxweb/flysystem
lampwick/laravel
jeslage/statamic-emojis
micahdshackelford/rmap-laravel
draftsmaninc/draftsman
square-bit/laravel-volition
himito/laravel-mailman
htinlynn/genius-helper
maco-studios/hephaestus
adachsoft/php-code-style