php-standard-library/result
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.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| graham-campbell/result-type | 0.83 | 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. | 548 | 551 | 10 | 11M | 0 | 26.0 | 65.0 | MIT | 3 months ago | |
| php-standard-library/php-standard-library | 0.80 | PSL is a modern standard library for PHP 8.4+, inspired by HHVM’s HSL. It offers consistent, well-typed APIs for async, collections, I/O, networking, crypto, terminal UI, and more—safer alternatives to built-ins with predictable errors and async-ready design. | 1,513 | 1,512 | 83 | 63K | 19 | 44.7 | 34.2 | MIT | 2 weeks ago | |
| php-standard-library/foundation | 0.75 | A lightweight PHP foundation library offering common building blocks and utilities to bootstrap projects. Provides reusable helpers and core abstractions to reduce boilerplate and standardize patterns across apps and packages. | 1 | — | 0 | — | 0 | 20.0 | — | MIT | 2 weeks ago | |
| php-standard-library/promise | 0.74 | Lightweight PHP promise implementation for composing and coordinating async-style workflows. Create, resolve, reject, and chain promises with then/catch-style handlers, useful for deferred results, task pipelines, and bridging callback-based APIs into a cleaner flow. | 1 | — | 0 | — | 0 | 20.0 | — | MIT | 2 weeks ago | |
| php-standard-library/iter | 0.74 | 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 | 0 | 0 | 9K | 0 | 20.6 | 59.4 | MIT | 2 weeks ago | |
| ergebnis/json-normalizer | 0.62 | Normalize JSON documents with composable normalizers. Includes generic and vendor-specific normalizers for formatting, indentation, schema-based ordering, JSON encoding, chaining, callbacks, and controlling final newlines. Install via Composer and apply a Normalizer to produce consistent JSON output... | 81 | 82 | 5 | 1M | 0 | 30.4 | 67.7 | MIT | 7 months ago | |
| ergebnis/phpstan-rules | 0.62 | A set of extra PHPStan rules to enforce stricter, opinionated code standards in PHP projects. Install via Composer and include rules.neon (auto via phpstan/extension-installer) to catch issues like named arguments, class design, and more. | 444 | 444 | 22 | 255K | 6 | 33.8 | 48.0 | MIT | 2 months ago | |
| codedungeon/phpunit-result-printer | 0.59 | Modern, pretty result printer for PHPUnit. Easy install via Composer, optional init script updates phpunit.xml and adds a default phpunit-printer.yml. Supports CLI/manual configuration, upgrade notes, and optional AnyBar integration (off by default; PHPUnit 7.1+). | 1,194 | 1,201 | 69 | 34K | 8 | 34.4 | 28.9 | MIT | 5 years ago | |
| ergebnis/phpunit-slow-test-detector | 0.58 | Detect slow PHPUnit tests with an extension delivered as a Composer package or PHAR. Configure a global maximum duration and get a report of tests exceeding the threshold after each run—ideal for catching performance regressions in your suite. | 146 | 148 | 12 | 487K | 8 | 33.2 | 62.6 | MIT | 3 weeks ago |
How can I help you explore Laravel packages today?