php/src/Core/Config/Contracts/CLAUDE.md
Snider 98102e510d feat: CLAUDE.md for every directory in CorePHP — 155 files total
Every directory containing PHP or Blade files now has agent-readable
documentation. 134 new files, 2,103 lines across:

- 78 blade component dirs (accordion through web)
- 18 admin view components
- 20 Core subsystem internals (models, services, concerns, migrations)
- 10 Bouncer/Gate subsystem dirs
- 5 root namespaces (Core, Mod, Mod/Trees, Plug, Website)
- Tests, config, lang, media, seo, cdn, search, storage, webhook dirs

Any agent landing on any CorePHP directory now understands the code
before reading a single PHP file. The CLAUDE.md IS the index.

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-29 13:41:35 +01:00

524 B

Config/Contracts/ — Config System Interfaces

Interfaces

Interface Purpose
ConfigProvider Virtual configuration provider. Supplies config values at runtime without database storage. Matched against key patterns (e.g., bio.*). Registered via ConfigResolver::registerProvider().

Providers implement pattern() (wildcard key matching) and resolve() (returns the value for a given key, workspace, and channel context). Returns null to fall through to database resolution.