php/src/Core/Cdn/Services/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

1,006 B

Cdn/Services/ — CDN Service Layer

Services

Service Purpose
BunnyCdnService BunnyCDN pull zone API — cache purging (URL, tag, workspace, global), statistics retrieval, pull zone management. Uses config from ConfigService.
BunnyStorageService BunnyCDN storage zone API — file upload, download, delete, list. Supports public and private storage zones.
StorageOffload (service) Manages file offloading to remote storage — upload, track, verify. Creates StorageOffload model records.
StorageUrlResolver URL builder for all asset contexts — CDN, origin, private, signed, apex. Supports virtual buckets (vBucket) per domain. Backs the Cdn facade.
CdnUrlBuilder Low-level URL construction for CDN paths with cache-busting and domain resolution.
AssetPipeline Orchestrates asset processing — push to CDN, cache headers, versioning.
FluxCdnService Pushes Flux UI assets to CDN for faster component loading.