code-distortion/options
A Laravel package for managing application options in one place. Define settings once, set defaults, validate and cast values, then retrieve them consistently across your app. Lightweight and easy to integrate.
code-distortion/options provides a clean, declarative way to define, validate, and resolve option arrays in PHP and Laravel applications. Instead of scattering isset() checks, defaults, and type juggling throughout your code, you declare each supported option once—with its type, default, and validation rules—and let the package normalise incoming values into a consistent, predictable array.
null, and unknown optionsHow can I help you explore Laravel packages today?