php-standard-library/option
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.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| php-standard-library/foundation | 0.88 | 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 | |
| imanghafoori/laravel-nullable | 0.87 | — | 151 | 151 | 10 | 16K | 2 | 3.1 | 28.4 | MIT | 1 year ago | |
| spatie/laravel-options | 0.86 | 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 | |
| php-standard-library/default | 0.86 | DefaultInterface for PHP classes to provide standardized default instances. Part of the PHP Standard Library, it gives a consistent contract for exposing a default object instance without custom static factory methods or ad hoc conventions. | 1 | 1 | 0 | 119K | 0 | 21.7 | 65.0 | MIT | 1 week ago | |
| php-standard-library/fun | 0.86 | Functional programming utilities for PHP: compose and decorate functions, control execution, and build pipelines with small, reusable higher-order helpers. | 1 | 1 | 0 | 28K | 0 | 21.6 | 64.9 | MIT | 1 week ago | |
| php-standard-library/type | 0.86 | 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 | |
| flow-php/types | 0.86 | Flow PHP type system library with typed value objects and type definitions for consistent, safe data handling across the Flow ecosystem. Designed for ETL pipelines, it helps enforce data contracts and reduce runtime type errors. | 2 | 2 | 2 | 62K | 0 | 0.1 | 55.3 | MIT | — | |
| php-standard-library/result | 0.86 | Result type for PHP that captures success or failure as a value, enabling controlled error handling without exceptions. Part of the PHP Standard Library. | 1 | 1 | 0 | 104K | 0 | 21.7 | 65.0 | MIT | 1 week ago | |
| pollora/option | 0.86 | A Laravel-friendly wrapper for WordPress options that gives you a clean Option facade to get, set, update, and delete site options without raw WordPress calls. Built for the Pollora ecosystem, it adds sensible defaults and fluent, typed access for WordPress-backed Laravel apps. | 1 | 1 | 0 | 6K | 0 | 18.8 | 55.9 | MIT | 1 month ago | |
| tdn/php-types | 0.85 | A small PHP utility for working with types: safely cast values, validate data against expected types, and normalize scalars, arrays and objects. Lightweight and framework-agnostic, it drops easily into Laravel or any Composer project. | 7 | 8 | 0 | 45 | 0 | 0.0 | 8.0 | NOASSERTION | 11 years ago | |
| php-standard-library/dict | 0.85 | Utility functions for working with PHP associative arrays (“dicts”): create, map, filter, and transform collections while preserving keys. Lightweight helpers from PHP Standard Library for cleaner, safer array manipulation. | 1 | 1 | 0 | 43K | 0 | 21.7 | 65.0 | MIT | 1 week ago | |
| fp4php/functional | 0.85 | 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/json | 0.85 | A small PHP Standard Library package for JSON encoding and decoding with typed exceptions and sensible defaults, providing predictable error handling for safer serialization in Laravel and other PHP projects. | 1 | 1 | 0 | 96K | 0 | 21.4 | 64.8 | MIT | 1 week ago | |
| php-standard-library/str | 0.85 | Unicode-aware string functions for PHP that replace mb_* and standard string functions with a consistent, modern API. Part of the PHP Standard Library, Str offers reliable multibyte-safe handling for everyday string operations. | 1 | 1 | 0 | 80K | 0 | 21.6 | 64.9 | MIT | 1 week ago | |
| php-standard-library/locale | 0.85 | PHP Standard Library Locale component providing locale-aware formatting and parsing utilities. Helps handle language/region settings, localized dates, numbers, and other internationalization tasks in PHP apps with a lightweight, straightforward API. | 1 | 1 | 0 | 113K | 0 | 21.4 | 64.8 | MIT | 1 week ago | |
| php-standard-library/interoperability | 0.85 | Interfaces for converting between PSL types and native PHP stdlib and intl equivalents, providing a consistent bridge so your code can move smoothly between PSL collections, strings, and other types and their built-in PHP counterparts. | 1 | 1 | 0 | 112K | 0 | 21.4 | 64.8 | MIT | 1 week ago | |
| phpoption/phpoption | 0.85 | 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 | |
| php-standard-library/file | 0.85 | Typed file handles for safe reading and writing in PHP, with explicit write modes and advisory file locking. Part of PHP Standard Library, designed to make filesystem IO clearer and less error-prone. | 1 | 1 | 0 | 102K | 0 | 21.5 | 64.9 | MIT | 1 week ago | |
| michel/options-resolver | 0.85 | A lightweight PHP options resolver for validating and normalizing configuration arrays with defined defaults, required keys, allowed types and values, and nested option support—keeping package configuration predictable and errors clear. | 0 | 0 | 0 | 2 | 0 | 16.9 | 7.6 | MIT | 2 months ago | |
| bruli/php-value-objects | 0.85 | A lightweight PHP library for building immutable value objects with typed primitive wrappers and validation. bruli/php-value-objects helps enforce domain invariants, reduce primitive obsession, and keep Laravel or any PHP codebase clearer and safer. | 43 | 43 | 13 | 580 | 1 | 0.7 | 15.9 | MIT | — |
How can I help you explore Laravel packages today?