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

Result Laravel Package

prewk/result

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.

View on GitHub
Deep Wiki
Context7
Package
Score
Description
Stars
Likes
Forks
Downloads
Issues
Score
Opportunity
License
Last Release
prewk/option 0.83 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. 47 47 9 18K 0 1.2 37.4 NOASSERTION
View on GitHub
Context7
php-standard-library/result 0.82 A lightweight Result type for PHP that represents success or failure as a value, enabling controlled error handling without exceptions. Helps you return, compose, and inspect outcomes explicitly for safer, predictable application flow. 1 1 0 40K 0 18.4 63.5 MIT 2 months ago
View on GitHub
Context7
lstrojny/functional-php 0.82 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,986 1,996 204 60K 8 32.9 28.6 MIT 4 months ago
View on GitHub
Deep Wiki
Context7
4xxi/rest-request-errors 0.80 2 2 0 141 1 0.1 16.4
View on GitHub
Context7
graham-campbell/result-type 0.80 Lightweight PHP Result type implementation for explicit success/failure returns. Provides Ok/Err-style results to avoid exceptions and clarify control flow. Compatible with PHP 7.2.5–8.5; install via Composer. 554 555 11 12M 0 14.3 59.2 MIT 7 months ago
View on GitHub
Context7
widmogrod/php-functional 0.80 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 203K 7 9.0 39.8 MIT 1 year ago
View on GitHub
Deep Wiki
Context7
holicz/simple-exception 0.79 Lightweight base exception for PHP/Laravel with structured context: a safe public message for users, a private debug message for logs, and an HTTP status code. Create your own exceptions by extending BaseException and pass an ExceptionContext. 0 0 0 32 0 1.8 21.0 5 years ago
View on GitHub
Context7
dosfarma/exceptions 0.79 Lightweight Laravel/PHP exception utilities for standardizing, wrapping, and handling application errors. Helps you define consistent exception types and messages across your codebase, improving error clarity, debugging, and maintainability with minimal setup. 0 0 1 0 0 0.0
View on GitHub
Context7
paragonie/corner 0.78 Corner provides extended PHP exceptions/errors with richer context: helpful long-form messages, source code snippets around the failure, and support links. Inspired by Rust-style diagnostics, useful even outside UI error pages. 63 63 4 25K 0 1.3 35.9 6 years ago
View on GitHub
Context7
errors/exceptions 0.78 5 5 0 30 1 0.1 7.6 MIT
View on GitHub
Context7
answear/poczta-polska-bundle 0.78 2 2 0 0 0 0.2 MIT 5 years ago
View on GitHub
Context7
bugloos/error-response-bundle 0.77 12 12 2 28 0 3.4 6.9 MIT 3 years ago
View on GitHub
Context7
bugloos/responder-bundle 0.77 13 13 1 121 0 2.5 13.6 MIT 3 years ago
View on GitHub
Context7
bensonirah/handler-exception 0.77 0 1 0 0 0 0.9 1 year ago
View on GitHub
Context7
amontreuil/exception-handler-bundle 0.77 0 0 0 0 0 4.8 4 years ago
View on GitHub
Context7
bytestechnolabs/custom-exception-handler 0.77 Laravel package for configurable exception handling: map exception classes to custom messages, HTTP status codes, and extra response data via config. Includes helper to add custom data dynamically during catch blocks for consistent API error responses. 0 0 0 0 0 0.0
View on GitHub
Context7
dbstudios/php-rest 0.76 0 0 0 0 0 4.5 1 year ago
View on GitHub
Context7
symfony/error-handler 0.76 Symfony ErrorHandler provides robust error and exception handling tools for PHP. Enable debug mode, register an error handler, and use DebugClassLoader for better stack traces. Convert PHP notices/warnings into exceptions and wrap risky code with ErrorHandler::call for safer debugging. 2,670 2,675 20 15M 0 46.0 61.0 MIT 1 week ago
View on GitHub
Deep Wiki
Context7
digitalrevolution/utils 0.75 1 1 8 2K 1 24.5 48.2 MIT 3 months ago
View on GitHub
Context7
phrity/util-errorhandler 0.75 9 9 0 393K 0 8.9 58.6 MIT 8 months ago
View on GitHub
Context7
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.
terminal42/code-quality-tools
codifyo/ts-generator-bundle
andydefer/laravel-cluster
testo/fiber
mintobit/jobqueue
a4sex/maintenance-bundle
a4sex/entity-date-update
a4sex/client-identifier
a4sex/base-utilites
a4sex/key-value-storage
a4sex/micro-status
chilldev/dependency-injection-extra
datinglibre/datinglibre-app-api
biberltd/corebundle
bricre/symfony-bundle-test
biberltd/logbundle
dominium/http-adapter-bundle
dominium/google-analytics
a4sex/auto-clean-entity
christhompsontldr/laravel-inky