Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Weblibs Configmanager Laravel Package

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.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Runtime-editable configuration features — an admin settings screen, tenant-level overrides, or an "advanced options" panel where operators change values without a redeploy. The package's core value is reading PHP config arrays and writing changes back, which is exactly the gap between Laravel's read-only config() helper and a real settings feature.
  • Build vs. buy for a settings/config subsystem — this is a ~1-file-scale utility, not a platform. The decision it informs is whether to (a) adopt a micro-library, (b) wrap Laravel's native config + a 100-line repository class of your own, or (c) buy into a heavier, maintained settings package. At 16 stars, 0 dependents, and no release since July 2021, the honest answer is usually (b) or (c).
  • Prototype and internal-tool scoping — for an MVP, a hackathon tool, or an internal admin panel that ships in weeks, this can shorten the "read/write a config file" ticket. It should not enter a roadmap as a strategic dependency.
  • Defer / reject decisions on config-management roadmap items — if a feature is framed as "let customers edit config," this package clarifies how much of that is trivially solvable and how much (validation, schema, audit trail, rollback, multi-tenant scoping) is the real work you'd still own.
  • Vendor-abstraction arguments — a useful forcing function to define your own 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.
  • Not supported: anything requiring config schema validation, environment-aware merging, encrypted secrets, or config caching semantics. Those are Laravel/Symfony config concerns and should be decided there.

When to Consider This Package

Consider it when:

  • The need is narrow: read a PHP array config file, traverse it, mutate a value, persist it back — nothing more.
  • The work is internal tooling or a short-lived prototype where the cost of replacing the library later is a day, not a quarter.
  • Your team is already inside the author's weblibs-* ecosystem, so dependency review, coding standards, and upgrade cadence are already absorbed.
  • You are deliberately choosing a small, readable dependency over a framework-sized one, and you will pin the version and vendor it behind your own interface.

Look elsewhere when:

  • Maintenance signal matters. Last release 2021-07-12, 16 stars, 0 dependents. Treat this as effectively unmaintained. Assume you own the code the day you adopt it — verify PHP 8.2/8.3 compatibility, PSR-4 autoloading, and any PHPUnit/config-reader transitive dependencies yourself before committing.
  • You need Laravel integration. There is no evidence of a service provider, facade, publishable config, or container binding. Expect manual wiring and no config:cache awareness — a real hazard if your app caches config in production.
  • The config file is user-writable in production. Writing PHP files from application input is a code-execution surface if values are not strictly validated and escaped. If your feature needs that, use a JSON/YAML/DB-backed store with a schema, not generated PHP.
  • You need schema validation, typed settings, encryption, audit history, or multi-tenant resolution. Reach for spatie/laravel-settings, symfony/config with a tree builder, or a database-backed settings table with your own repository.
  • Procurement or security review requires an active maintainer, CVE response, or an SLA. This package will not clear that bar.
  • You only need to read config. Laravel's config() and Config::get() already do dot-notation access with caching; adding a dependency here is pure overhead.

How to Pitch It (Stakeholders)

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):

  • Scope is genuinely thin: array-backed config access plus file read/write. No schema, no validation, no caching, no framework bindings.
  • Costs we inherit: PHP 8.x compatibility verification, security review of the file-write path (path traversal, value escaping, permissions, atomic writes), and a fork-or-replace plan.
  • Ask: prototype behind a 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.
  • Do not let it near production secrets or anything under 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.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
shitoudev/permissionmanager
johannesclimacus/laravel-tui
hocvt/seotools
vitalybaev/sypexgeo
amphibee/themosis-ignition
gito-me/fast-excel
frankyso/laravel-ipaymu
geolize-studio/laravel-chile
boomerangui/chat
jinas/dhivatar
store-doc/laravel-storage-driver
plus-it/laravel-translation-manager
diephp/perhaps
diephp/telegraph
osmaviation/spreadsheet
microsoft/fluentui-system-icons
mmccook/php-json-canonicalization-scheme
middlewares/firewall
qubiqx/montapacking
nyoncode/laravel-package-console