php-standard-library/option
Option type for PHP with Some/None to replace nullable values with explicit presence semantics. Helps avoid null checks, clarifies intent, and models optional data safely. Part of PHP Standard Library; see docs and contributing links.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| phpoption/phpoption | 0.83 | PhpOption brings an Option type to PHP, helping you avoid null-related errors by making “value or none” explicit. Use Some and None to model optional results, write safer APIs, and handle missing values deliberately with a clean, functional-style API. | 2,678 | 2,699 | 67 | 11M | 1 | 42.5 | 60.2 | Apache-2.0 | 3 months ago | |
| php-standard-library/php-standard-library | 0.82 | 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 | 84 | 63K | 19 | 44.7 | 34.2 | MIT | 2 weeks ago | |
| spatie/laravel-options | 0.81 | 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 | 256 | 9 | 14K | 0 | 25.1 | 28.5 | MIT | 2 days ago | |
| php-standard-library/type | 0.77 | 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 | 0 | 0 | 12K | 0 | 20.6 | 61.3 | MIT | 2 weeks ago |
How can I help you explore Laravel packages today?