clagiordano/weblibs-configmanager
A lightweight PHP configuration manager that loads and merges settings from arrays, INI, JSON, YAML and database sources, with dot-notation access, defaults and caching, so applications can keep environment-specific config organized behind one simple, consistent API.
config() helper and a real settings feature.ConfigRepository interface so a package like this is swappable later. The package's thin surface makes that abstraction cheap, which is itself a reason to justify the abstraction to engineering.config concerns and should be decided there.Consider it when:
weblibs-* ecosystem, so dependency review, coding standards, and upgrade cadence are already absorbed.Look elsewhere when:
config:cache awareness — a real hazard if your app caches config in production.spatie/laravel-settings, symfony/config with a tree builder, or a database-backed settings table with your own repository.config() and Config::get() already do dot-notation access with caching; adding a dependency here is pure overhead.To executives (one paragraph): This is a small, single-purpose PHP utility for reading and writing configuration files at runtime — the plumbing behind a "settings" screen. It would cost us almost nothing to try, but it is a one-person project with no release in over three years, no downstream users, and no support path. My recommendation is to treat it as reference material, not a dependency: the capability it provides is roughly a hundred lines of our own code, which we would own outright, can test, can secure, and will not have to migrate off in eighteen months. If we do adopt it, it goes behind an internal interface and can be swapped without touching product code.
To engineering (bullets to align on):
ConfigRepository interface in a spike branch; measure the wrapper at ~150 LOC. If the wrapper is that small, the dependency is not earning its place.config/ that is cached at deploy time.Recommendation: No-go for production, conditional go for an internal prototype only, with a default decision to build the thin repository in-house and keep this package as a design reference.
How can I help you explore Laravel packages today?