spomky-labs/oauth2-server-client-manager-supervisor
Integrates a client manager supervisor with spomky-labs/oauth2-server, helping PHP OAuth2 servers coordinate client management and validation through a configurable supervisor layer. Useful for wiring client storage and lookup into OAuth2 authorization flows.
ClientManager implementations and have lookups resolved against them in order, instead of hard-wiring a single source of OAuth clients. The build-vs-buy call is really "do we vendor a small abandoned helper, or write the same decorator ourselves in a day?"Consider it only when all of these are true:
spomky-labs/oauth2-server (itself deprecated) and cannot justify migrating the token endpoint yet.Look elsewhere when:
league/oauth2-server, Laravel Passport/Sanctum, or an external IdP (Keycloak, Auth0, Cognito, WorkOS). No reason to inherit a dead tree.ClientManager adapter. Owning that code is cheaper than owning a supply-chain risk.To executives: This is a narrow glue component, not a platform investment. Its only strategic value is a migration pattern — letting us move OAuth client registrations from the old store to the new one gradually, with fallback, so customer-facing integrations don't break on cutover day. Cost to adopt is small; so is the support guarantee, which is why we'd vendor it rather than depend on it.
To engineering: One contract, one composite. It implements the ClientManager interface and probes delegates in order, so auth code stays untouched while we change where clients live. The catch is that the package is effectively abandoned upstream (deprecated parent library, no adoption signals), so the proposal is: pin the version, wrap it behind our own adapter interface, and schedule replacing the composite with our own implementation within a sprint or two. Treat the dependency as a temporary scaffold, not an architecture.
Decision requested: Approve a time-boxed spike to confirm it works on our PHP/Laravel baseline, contingent on a documented exit plan to in-house the composite.
How can I help you explore Laravel packages today?