puli/repository
A PHP repository component for managing resource path and URL mappings. It provides a central registry for locating files across packages, supports filesystem and URL repositories, and integrates with Puli’s resource discovery system.
puli/repository is a generic PHP filesystem-like repository for arbitrary resources, not a Laravel package. It can map path/URI-like identifiers to resources, but Laravel already provides this through Storage, Flysystem disks, and asset tooling. Puli has no Laravel container bindings, config integration, facades, events, or lifecycle hooks. Fit is poor for greenfield Laravel; possible only as an isolated adapter for legacy Puli resource compatibility or a very specific resource-registry requirement.Storage/Flysystem? Is there existing Puli URI or resource data that must remain compatible? Which PHP and Laravel versions must be supported? Are transitive dependencies installable without conflicts? Can we fork or vendor only the minimal classes? Is read-only compatibility sufficient? Who owns security patching and the eventual exit plan?puli/repository as an internal, bounded-context dependency, never as a first-class Laravel abstraction. Wrap it behind an application-owned repository interface, bind the adapter in a service provider, and keep Puli types out of controllers, models, and domain code. Map Puli paths to Laravel disk roots through configuration. Use Laravel Storage for all new resource workflows.Storage.composer why-not against the target Laravel version. Test on the exact production PHP runtime. If compatibility requires downgrading Laravel or PHP, reject the integration.puli/repository as a new Laravel platform dependency.How can I help you explore Laravel packages today?