ppokatilo/services-loader
A Laravel package for loading and registering services, helping you organize service providers and bootstrap application services through a simple, configurable loader.
services.d convention could fit a modular monolith, but there is no evidence of Laravel-native integration, PSR-11 interoperability, config publishing, or lifecycle hooks. Package metadata is sparse; this assessment assumes it loads service definition files from a services.d directory.services.d file format—class names, callables, PSR-11 definitions, or custom arrays? Does it support ordering, duplicate detection, caching, and error handling? Which PHP and Laravel versions are supported? Is it safe against untrusted or partially deployed files? Who owns maintenance, and what is the fallback if the package cannot run on the target platform?services.d path from config, and binds discovered services into the Laravelcontainer. Do not rely on package auto-discovery. Keep package classes out of application code.ServiceDefinitionLoader interface, implement a thin adapter around the package, then replace the adapter with an internal loader once behavior is understood. Pin any fork to a specific commit and avoid leaking package types into domain code.services.d files and required semantics; 2) run a short compatibility spike; 3) fork/pin only if the spike passes; 4) build an adapter and fixture tests; 5) rollout behind a feature flag; 6) canary in staging/production; 7) migrate to the internal loader and remove the dependency. Keep the existing config-based provider list as rollback.services.d small, documented, and covered by fixture tests. Prefer an internal loader with explicit conventions to reduce the knowledge silo and long-term support burden.How can I help you explore Laravel packages today?