graham-campbell/result-type
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.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| graham-campbell/github | 0.87 | Laravel bridge to the KnpLabs PHP GitHub API. Provides a configurable GitHub client via a manager, with Laravel-friendly service container integration, facades, and multi-connection support for GitHub authentication and requests. | 646 | 651 | 125 | 63K | 0 | 32.2 | 30.3 | MIT | 2 months ago | |
| graham-campbell/manager | 0.85 | Laravel Manager provides a lightweight base for building driver-based “manager” services in Laravel apps. Supports PHP 7.4–8.5 and Laravel 8–13, offering consistent configuration, driver creation, and resolution patterns for your own integrations. | 394 | 401 | 40 | 494K | 0 | 25.1 | 47.4 | MIT | 4 months ago | |
| 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 | |
| widmogrod/php-functional | 0.81 | 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 | |
| prewk/result | 0.79 | 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. | 121 | 121 | 13 | 19K | 0 | 1.9 | 32.9 | NOASSERTION | — | |
| corepine/support | 0.79 | A small collection of Laravel/PHP support utilities from Corepine, providing reusable helpers and common building blocks to simplify everyday application code and package development. | 0 | 0 | 0 | 27 | 0 | 0.0 | 20.0 | — | — | |
| nnjeim/respond | 0.78 | — | 5 | 5 | 1 | 0 | 0 | 0.7 | — | MIT | 4 years ago | |
| dosfarma/exceptions | 0.78 | 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 | — | — | — | |
| bugloos/error-response-bundle | 0.78 | — | 12 | 12 | 2 | 28 | 0 | 3.4 | 6.9 | MIT | 3 years ago | |
| b2pweb/bdf-util | 0.78 | Utilities for working with BDF (Binary Data Format) files in PHP/Laravel. Includes helpers to read, write, parse, and validate BDF data plus common convenience functions for import/export workflows and integration into your application. | 0 | 0 | 0 | 851 | 0 | 0.0 | 40.5 | MIT | — | |
| dansup/laravel-edmunds | 0.78 | Deprecated Laravel package for the Edmunds API. Note: Edmunds has retired its open APIs, so this package is no longer maintained or usable for new integrations. | 3 | 3 | 0 | 0 | 0 | 0.9 | — | MIT | 9 years ago | |
| lstrojny/functional-php | 0.77 | 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 | |
| bensonirah/handler-exception | 0.77 | — | 0 | 1 | 0 | 0 | 0 | 0.9 | — | — | 1 year ago | |
| php-standard-library/type | 0.76 | Runtime type validation for PHP using “Parse, Don’t Validate”: coerce and assert unstructured input into well-typed data. Useful for APIs, configs, and user input with clear parsing rules, assertions, and predictable failures. | 1 | 1 | 0 | 46K | 0 | 17.7 | 63.2 | MIT | 2 months ago | |
| chamber-orchestra/form-bundle | 0.74 | — | 2 | 2 | 1 | 1K | 0 | 0.0 | 36.2 | MIT | — | |
| bytestechnolabs/custom-exception-handler | 0.74 | 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 | — | — | — | |
| graham-campbell/analyzer | 0.70 | Analyzer is a PHP tool by Graham Campbell that scans your code/tests to verify referenced classes actually exist, catching typos and broken imports early. Requires PHP 8.1–8.5 and supports PHPUnit 10–13 (v5.1). | 31 | 32 | 5 | 6K | 0 | 22.8 | 35.0 | MIT | 4 months ago |
How can I help you explore Laravel packages today?