oscarotero/env
oscarotero/env is a simple PHP library to read environment variables and convert them to typed values (bool, int, float, arrays, etc.), with support for .env files, defaults, and nested variable expansion. Lightweight and dependency-free alternative to phpdotenv.
env() and config() as the default. Adopt this package only when it solves a concrete gap, such as standalone PHP usage outside the framework or consistency across non-Laravel packages."false" being treated as truthy, and a minimal MIT dependency is acceptable.env() plus config caching already covers the need. Adding a low-adoption package for duplicate behavior is usually not justified.config()/env() and use this package only for standalone PHP contexts or a proven gap. Avoid broad rollout until a concrete type-conversion bug or duplicated parser is demonstrated.How can I help you explore Laravel packages today?