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.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| paragonie/corner | 0.86 | 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. | 62 | 63 | 4 | 25K | 0 | 1.3 | 36.0 | — | 6 years ago | |
| open-southeners/extended-php | 0.85 | 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 | |
| spatie/typed | 0.85 | Userland improved PHP type system with type inference and runtime checking: generics, union types, typed collections/lists, tuples, and structs. Proof-of-concept package from Spatie to add stronger type guarantees without language-level support. | 316 | 317 | 15 | 18 | 0 | 1.9 | 0.2 | MIT | 5 years ago | |
| clue/framework-x | 0.85 | Framework X is a simple, fast micro framework for building reactive PHP web apps. Create routes, return PSR-7 responses, and run anywhere—behind a traditional web server or as a standalone server with ReactPHP under the hood. | 940 | 942 | 56 | 4K | 1 | 12.0 | 11.0 | MIT | 1 year ago | |
| andersundsehr/rector-p | 0.85 | Run Rector on large legacy projects file by file instead of all at once. rector-p asks you before applying changes to each file, remembers files with no changes, and supports paths, chunks, and starting over. | 7 | 1 | 5 | 8K | 5 | 26.8 | 50.6 | GPL-3.0 | 1 week ago | |
| sebastian/type | 0.85 | 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 | |
| spatie/piper | 0.85 | Piper is a pipe operator-first PHP utility library that ports Laravel’s array and string helpers into standalone functions. Chain filter, map, join, lower, replace, and more with the |> operator, mixing array and string primitives in one clean pipeline. | 57 | 57 | 2 | 548 | 0 | 13.6 | 15.6 | MIT | 4 months ago | |
| nunomaduro/phpinsights | 0.85 | PHP Insights analyzes your PHP code quality, coding style, architecture, and complexity straight from the terminal. Works out of the box with Laravel, Symfony, Yii, Magento, and more, with built-in checks that keep code reliable and loosely coupled. | 5,647 | 5,650 | 300 | 403K | 68 | 75.7 | 56.6 | MIT | 1 month ago | |
| infocyph/phpforge | 0.84 | PHPForge from infocyph is a lightweight PHP scaffolding and code generation toolkit for forging boilerplate classes, files, and project structures from simple commands or templates, helping streamline everyday development workflows. | 1 | 1 | 0 | 32K | 0 | 0.0 | 55.3 | MIT | — | |
| php-open-source-saver/fractal | 0.84 | Fractal is a maintained fork of thephpleague/fractal for transforming complex data into consistent API output. Provides a presentation layer with transformers, type casting, relationship includes, custom serializers, and pagination support for JSON/YAML APIs. | 4 | 4 | 2 | 79K | 0 | 4.7 | 56.9 | MIT | 9 months ago | |
| prewk/option | 0.84 | 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 | 8 | 18K | 0 | 1.2 | 37.3 | NOASSERTION | — | |
| povils/phpmnd | 0.84 | PHPMND detects magic numbers in PHP code to improve readability and maintainability. Flags numeric literals that should be constants (0 and 1 ignored by default). Install via Composer and run vendor/bin/phpmnd locally or globally in CI and dev workflows. | 585 | 588 | 47 | 149K | 12 | 21.4 | 42.1 | MIT | 8 months ago | |
| typhoon/type | 0.84 | Typhoon Type provides an object abstraction over PHP’s modern type system for building tools that understand complex types. Define, print (stringify), and work with array shapes, object types, non-empty lists, and more in a consistent API. | 66 | 66 | 2 | 9K | 2 | 16.0 | 32.8 | MIT | 6 months ago | |
| marekmiklusek/laravel-starter-kit-react | 0.84 | A Laravel starter kit that pairs a Laravel backend with a React frontend, offering a preconfigured foundation for building modern full-stack web applications. It includes ready-to-use project structure and tooling so you can skip boilerplate and start building features faster. | 1 | 1 | 0 | 6 | 0 | 16.1 | 9.5 | — | 2 months ago | |
| stefanak-michal/bolt | 0.84 | Low-level PHP library for communicating with graph databases over TCP using the Bolt protocol. Works with Neo4j, Memgraph, Amazon Neptune and others, supports Bolt up to version 6, requires PHP 8.1+ with mbstring, and needs sockets or openssl only for certain connection classes. | 82 | 81 | 12 | 36K | 4 | 30.7 | 43.6 | MIT | 1 week ago | |
| michael-rubel/laravel-loop-functions | 0.84 | Laravel Loop Functions provides handy helper functions for writing cleaner loops in Laravel, offering concise, readable alternatives to native PHP iteration when processing arrays and collections. A lightweight package that keeps repeated loop logic simple and expressive. | 17 | 18 | 2 | 30 | 0 | 0.2 | 4.2 | MIT | 3 years ago | |
| php-standard-library/foundation | 0.83 | 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 | |
| php-standard-library/type | 0.83 | Runtime type validation for PHP built on the Parse, Don't Validate principle: coerce and assert unstructured input into well-typed data, with clear errors when values don't match. | 1 | 1 | 0 | 114K | 0 | 21.4 | 64.8 | MIT | 1 week ago | |
| 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 | |
| php-standard-library/iter | 0.82 | Inspect and reduce any PHP iterable (arrays, generators, iterators) with small, focused helpers from PHP Standard Library - Iter. Designed for common iteration tasks and consistent behavior across iterable types. | 1 | 1 | 0 | 50K | 0 | 21.5 | 64.8 | MIT | 1 week ago |
How can I help you explore Laravel packages today?