spiral/config
Spiral Config provides a flexible configuration system for Spiral apps. Load, merge, and access settings from multiple sources with a clean API, supporting layered environments and structured config classes for predictable, testable application configuration.
env() calls, reducing technical debt and improving maintainability for modular applications.Executives: "This package eliminates configuration chaos by centralizing settings across environments, reducing deployment errors and developer onboarding time. It ensures consistent, type-safe access to critical settings—like API keys or feature flags—without hardcoded values, directly improving product reliability and reducing costly runtime failures."
Engineering: "It’s a lightweight, MIT-licensed tool for modular PHP apps that handles config from multiple sources (files, env, arrays) with dot-notation and immutable reads. No more env() spaghetti—just clean, cacheable access. Verify PHP 8.x compatibility, but its simplicity avoids framework bloat for targeted use cases."
How can I help you explore Laravel packages today?